Class SimpleContentDialogCreateOptions
Set of properties used when creating a new simple content dialog.
public class SimpleContentDialogCreateOptions
- Inheritance
-
SimpleContentDialogCreateOptions
- Inherited Members
Properties
CloseButtonText
Gets or sets the name of the button that closes the content dialog.
public required string CloseButtonText { get; set; }
Property Value
Content
Gets or sets a message displayed in the content dialog.
public required object Content { get; set; }
Property Value
DefaultButton
Gets or sets the button that is activated by default when the user presses the Enter key in the dialog.
public ContentDialogButton DefaultButton { get; set; }
Property Value
Remarks
Use this property to specify which button receives keyboard focus and is triggered by default when the dialog is shown. This can improve usability by guiding users toward the recommended action.
PrimaryButtonText
Gets or sets the default text of the primary button at the bottom of the content dialog.
If not added, or Empty, it will not be displayed.
public string PrimaryButtonText { get; set; }
Property Value
SecondaryButtonText
Gets or sets the default text of the secondary button at the bottom of the content dialog.
If not added, or Empty, it will not be displayed.
public string SecondaryButtonText { get; set; }
Property Value
Title
Gets or sets a name at the top of the content dialog.
public required string Title { get; set; }