private async void ExecuteSaveCommand(IRichTextContext richTextContext) { this.HtmlText = await richTextContext.GetHtmlAsync(); if (string.IsNullOrEmpty(this.FilePath)) { await this.NavigateToSaveAsync(); } else { await this.SaveDocumentAsync(this.HtmlText, this.FilePath); } }
private async void ExecuteShareCommand(IRichTextContext richTextContext) { this.HtmlText = await richTextContext.GetHtmlAsync(); await this.ShareDocumentAsync(this.HtmlText, this.FilePath); }
private async void ExecuteSaveAsCommand(IRichTextContext richTextContext) { this.HtmlText = await richTextContext.GetHtmlAsync(); await this.NavigateToSaveAsync(); }
private async void ExecuteOpenRecentCommand(IRichTextContext richTextContext) { await this.NavigateToOpenAsync(); }
private async void ExecuteOpenCommand(IRichTextContext richTextContext) { await this.OpenDocumentAsync(); }