Share via


ContentDialogButtonClickEventArgs Class

Definition

Provides data for the button click events.

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

Properties

Cancel

Gets or sets a value that can cancel the button click. A true value for Cancel cancels the default behavior.

Methods

GetDeferral()

Gets a ContentDialogButtonClickDeferral that the app can use to respond asynchronously to a button click event.

Applies to