ContentDialogButton
ContentDialogButton
ContentDialogButton
ContentDialogButton
Enum
Definition
Defines constants that specify the default button on a content dialog.
public : enum class ContentDialogButtonpublic enum ContentDialogButtonPublic Enum ContentDialogButton// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Fields
| Close Close Close Close | The close button is the default. |
| None None None None | No button is specified as the default. |
| Primary Primary Primary Primary | The primary button is the default. |
| Secondary Secondary Secondary Secondary | The secondary button is the default. |
Remarks
This enumeration is used by the ContentDialog.DefaultButton property. The default button responds to the Enter key and has a different visual style.