مشاركة عبر


ContentDialogResult Enum

Definition

Specifies identifiers to indicate the return value of a ContentDialog

public enum class ContentDialogResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ContentDialogResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ContentDialogResult
Public Enum ContentDialogResult
Inheritance
ContentDialogResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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