ContentDialogClosingEventArgs ContentDialogClosingEventArgs ContentDialogClosingEventArgs ContentDialogClosingEventArgs Class

Definition

Provides data for the closing event.

public : sealed class ContentDialogClosingEventArgs
struct winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs
public sealed class ContentDialogClosingEventArgs
Public NotInheritable Class ContentDialogClosingEventArgs
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.

Result Result Result Result

Gets the ContentDialogResult of the closing event.

Methods

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

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