ContentDialogClosingEventArgs Class

Definition

Provides data for the closing event.

public ref class ContentDialogClosingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentDialogClosingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDialogClosingEventArgs
Public NotInheritable Class ContentDialogClosingEventArgs
Inheritance
Object Platform::Object IInspectable ContentDialogClosingEventArgs
Attributes

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