ContentDialog.PrimaryButtonStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the style to apply to the dialog's primary button.
public:
property Style ^ PrimaryButtonStyle { Style ^ get(); void set(Style ^ value); };
Style PrimaryButtonStyle();
void PrimaryButtonStyle(Style value);
public Style PrimaryButtonStyle { get; set; }
var style = contentDialog.primaryButtonStyle;
contentDialog.primaryButtonStyle = style;
Public Property PrimaryButtonStyle As Style
<contentDialog CloseButtonStyle="{StaticResource styleResourceKey}"//>
Property Value
The applied style for the button, if present; otherwise, null
.