ContentDialog.PrimaryButtonStyle Property

Definition

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; }
Public Property PrimaryButtonStyle As Style
<contentDialog CloseButtonStyle="{StaticResource styleResourceKey}"//>

Property Value

Style

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

Applies to