ContentDialogResult Enum

Definition

Specifies identifiers to indicate the return value of a ContentDialog

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ContentDialogResult
Inheritance
ContentDialogResult
Attributes

Fields

Name Value Description
None 0

No button was tapped.

Primary 1

The primary button was tapped by the user.

Secondary 2

The secondary button was tapped by the user.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6