ContentDialogClosingEventArgs ContentDialogClosingEventArgs ContentDialogClosingEventArgs ContentDialogClosingEventArgs Class

Definition

Provides data for the closing event.

public : sealed class ContentDialogClosingEventArgs : IContentDialogClosingEventArgspublic sealed class ContentDialogClosingEventArgs : IContentDialogClosingEventArgsPublic NotInheritable Class ContentDialogClosingEventArgs Implements IContentDialogClosingEventArgs// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value that can cancel the closing of the dialog.. 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// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

True to cancel the closing of the dialog; Otherwise, false.

Result Result Result Result

Gets the ContentDialogResult of the closing event.

public : ContentDialogResult Result { get; }public ContentDialogResult Result { get; }Public ReadOnly Property Result As ContentDialogResult// This API is not available in Javascript.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Gets a ContentDialogClosingDeferral that the app can use to respond asynchronously to the closing event.

public : ContentDialogClosingDeferral GetDeferral()public ContentDialogClosingDeferral GetDeferral()Public Function GetDeferral() As ContentDialogClosingDeferral// This API is not available in Javascript.
Returns