-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.ContentDialog.PrimaryButtonStyle |
winrt property |
Gets or sets the Style to apply to the dialog's primary button.
<contentDialog CloseButtonStyle="{StaticResource styleResourceKey}"//>
- styleResourceKey
- styleResourceKeyThe key that identifies the style being requested. The key refers to an existing resource in a ResourceDictionary.
The applied style for the button, if present; otherwise, null.