C# 如何在编辑word文件(.docx)后使用syncfusion保存该文件:SfRichTextBoxAdv

C# 如何在编辑word文件(.docx)后使用syncfusion保存该文件:SfRichTextBoxAdv,c#,xaml,windows-runtime,windows-store-apps,syncfusion,C#,Xaml,Windows Runtime,Windows Store Apps,Syncfusion,我使用winRT的syncfusion,我有以下控件 <sf:SfRichTextBoxAdv x:Name="richTextBox" Grid.RowSpan="2" ManipulationMode="All" IsZoomEnabled="True" /> 之后.docx打开,我可以查看和编辑它,但我仍然没有保存它。 我看到richTextBox有一个.Save和一个.SaveAsync函数,但我无法让它工作 有人能帮我吗?设法让它工作起来了 StorageFile sto

我使用winRT的syncfusion,我有以下控件

<sf:SfRichTextBoxAdv x:Name="richTextBox" Grid.RowSpan="2" ManipulationMode="All" IsZoomEnabled="True" />
之后.docx打开,我可以查看和编辑它,但我仍然没有保存它。 我看到richTextBox有一个.Save和一个.SaveAsync函数,但我无法让它工作


有人能帮我吗?

设法让它工作起来了

StorageFile storageFile = await ApplicationData.Current.LocalFolder.CreateFileAsync("file.docx",CreationCollisionOption.ReplaceExisting);
richTextBox.Save(storageFile);
StorageFile storageFile = await ApplicationData.Current.LocalFolder.CreateFileAsync("file.docx",CreationCollisionOption.ReplaceExisting);
richTextBox.Save(storageFile);