优化更新代码,添加界面功能并整合

This commit is contained in:
GG Z
2025-02-10 20:53:40 +08:00
parent 83b846f15f
commit 978e03a67f
1389 changed files with 95739 additions and 22200 deletions

View File

@@ -0,0 +1,37 @@
namespace WPFluent;
/// <summary>
/// Set of properties used when creating a new simple content dialog.
/// </summary>
public class SimpleContentDialogCreateOptions
{
/// <summary>
/// Gets or sets the name of the button that closes the content dialog.
/// </summary>
public required string CloseButtonText { get; set; }
/// <summary>
/// Gets or sets a message displayed in the content dialog.
/// </summary>
public required object Content { get; set; }
/// <summary>
/// Gets or sets the default text of the primary button at the bottom of the content dialog. <para>If not added, or
/// <see cref="string.Empty"/>, it will not be displayed.</para>
/// </summary>
public string PrimaryButtonText { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the default text of the secondary button at the bottom of the content dialog. <para>If not added,
/// or <see cref="string.Empty"/>, it will not be displayed.</para>
/// </summary>
public string SecondaryButtonText { get; set; } = string.Empty;
/// <summary>
/// Gets or sets a name at the top of the content dialog.
/// </summary>
public required string Title { get; set; }
}