更新整理
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
using WPFluent.Controls;
|
||||
|
||||
|
||||
using System.Windows.Controls;
|
||||
|
||||
using WPFluent.Controls;
|
||||
|
||||
namespace WPFluent;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a contract with the service that creates <see cref="ContentDialog"/>.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code lang="xml"> <ContentPresenter x:Name="RootContentDialogPresenter" Grid.Row="0" /></code> <code
|
||||
/// lang="csharp"> IContentDialogService contentDialogService = new ContentDialogService();
|
||||
/// <code lang="xml"><ContentPresenter x:Name="RootContentDialogPresenter" Grid.Row="0" /></code> <code
|
||||
/// lang="csharp">IContentDialogService contentDialogService = new ContentDialogService();
|
||||
/// contentDialogService.SetContentPresenter(RootContentDialogPresenter); await _contentDialogService.ShowAsync( new
|
||||
/// ContentDialog(){ Title = "The cake?", Content = "IS A LIE!", PrimaryButtonText = "Save", SecondaryButtonText =
|
||||
/// "Don't Save", CloseButtonText = "Cancel" } );</code>
|
||||
|
||||
Reference in New Issue
Block a user