Files
ShrlAlgoToolkit/WPFluent/SimpleContentDialogCreateOptions.cs

38 lines
1.2 KiB
C#

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; }
}