ContentDialogClosingEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |