ContentDialog.PrimaryButtonStyle ContentDialog.PrimaryButtonStyle ContentDialog.PrimaryButtonStyle ContentDialog.PrimaryButtonStyle Property

Definition

Gets or sets the Style to apply to the dialog's primary button.

public : Style PrimaryButtonStyle { get; set; }
Style PrimaryButtonStyle();

void PrimaryButtonStyle(Style primarybuttonstyle);
public Style PrimaryButtonStyle { get; set; }
Public ReadWrite Property PrimaryButtonStyle As Style
<contentDialog CloseButtonStyle="{StaticResource styleResourceKey}"//>

Property Value

The applied style for the button, if present; otherwise, null.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)