private bool PromptForPreviewOutOfBrowserToggle() { return(ServiceExtensions.MessageDisplayService(this.Services).ShowMessage(new MessageBoxArgs() { Message = StringTable.UsePlatformExtensionsCommandPreviewOutOfBrowserEnabledWarningMessage, Button = MessageBoxButton.YesNo, Image = MessageBoxImage.Exclamation }) == MessageBoxResult.Yes); }
private bool PromptForPlatformExtensionsToggle() { return(ServiceExtensions.MessageDisplayService(this.Services).ShowMessage(new MessageBoxArgs() { Message = StringTable.PreviewOutOfBrowserCommandUsePlatformExtensionsEnabledWarning, Button = MessageBoxButton.YesNo, Image = MessageBoxImage.Exclamation, AutomationId = "TogglePlatformExtensionsDialog" }) == MessageBoxResult.Yes); }