Share via


ContentDialog.SecondaryButtonStyle Property

Definition

Gets or sets the style to apply to the dialog's secondary button.

public:
 property Style ^ SecondaryButtonStyle { Style ^ get(); void set(Style ^ value); };
Style SecondaryButtonStyle();

void SecondaryButtonStyle(Style value);
public Style SecondaryButtonStyle { get; set; }
var style = contentDialog.secondaryButtonStyle;
contentDialog.secondaryButtonStyle = style;
Public Property SecondaryButtonStyle As Style
<contentDialog CloseButtonStyle="{StaticResource styleResourceKey}"//>

Property Value

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

Applies to