Content​Dialog​Button​Click​Event​Args Content​Dialog​Button​Click​Event​Args Content​Dialog​Button​Click​Event​Args Class

Definition

Provides data for the button click events.

public sealed class ContentDialogButtonClickEventArgs : IContentDialogButtonClickEventArgspublic sealed class ContentDialogButtonClickEventArgs : IContentDialogButtonClickEventArgsPublic NotInheritable Class ContentDialogButtonClickEventArgs Implements IContentDialogButtonClickEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Cancel Cancel Cancel

Gets or sets a value that can cancel the button click. A true value for Cancel cancels the default behavior.

public PlatForm::Boolean Cancel { get; set; }public bool Cancel { get; set; }Public ReadWrite Property Cancel As bool
Value
bool bool bool

True to cancel the button click; Otherwise, false.

Attributes

Methods

GetDeferral() GetDeferral() GetDeferral()

Gets a ContentDialogButtonClickDeferral that the app can use to respond asynchronously to a button click event.

public ContentDialogButtonClickDeferral GetDeferral()public ContentDialogButtonClickDeferral GetDeferral()Public Function GetDeferral() As ContentDialogButtonClickDeferral
Returns
Attributes