Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ContentDialogResult Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies identifiers to indicate the return value of a ContentDialog

public enum class ContentDialogResult
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class ContentDialogResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ContentDialogResult
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


Feedback

Was this page helpful?