Share via


ContentDialogClosingEventArgs Class

Definition

Provides data for the closing event.

[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContentDialogClosingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDialogClosingEventArgs
Inheritance
Object ContentDialogClosingEventArgs
Attributes

Windows requirements

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

Properties

Cancel

Gets or sets a value that can cancel the closing of the dialog.. A true value for Cancel cancels the default behavior.

Result

Gets the ContentDialogResult of the closing event.

Methods

GetDeferral()

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

Applies to