ContentDialog.IsSecondaryButtonEnabled Property

Definition

Gets or sets whether the dialog's secondary button is enabled.

public:
 property bool IsSecondaryButtonEnabled { bool get(); void set(bool value); };
bool IsSecondaryButtonEnabled();

void IsSecondaryButtonEnabled(bool value);
public bool IsSecondaryButtonEnabled { get; set; }
var boolean = contentDialog.isSecondaryButtonEnabled;
contentDialog.isSecondaryButtonEnabled = boolean;
Public Property IsSecondaryButtonEnabled As Boolean
<ContentDialog IsSecondaryButtonEnabled="bool"/>

Property Value

Boolean

bool

true if the secondary button of the dialog is enabled; otherwise, false. The default is true.

Applies to