ContentDialogButtonClickEventArgs
ContentDialogButtonClickEventArgs
ContentDialogButtonClickEventArgs
ContentDialogButtonClickEventArgs
Class
Definition
Provides data for the button click events.
public : sealed class ContentDialogButtonClickEventArgs : IContentDialogButtonClickEventArgspublic sealed class ContentDialogButtonClickEventArgs : IContentDialogButtonClickEventArgsPublic NotInheritable Class ContentDialogButtonClickEventArgs Implements IContentDialogButtonClickEventArgs// This API is not available in Javascript.
- 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 button click. A true value for Cancel cancels the default behavior.
public : PlatForm::Boolean Cancel { get; set; }public bool Cancel { get; set; }Public ReadWrite Property Cancel As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
True to cancel the button click; Otherwise, false.
Methods
GetDeferral() GetDeferral() GetDeferral() GetDeferral()
Gets a ContentDialogButtonClickDeferral that the app can use to respond asynchronously to a button click event.
public : ContentDialogButtonClickDeferral GetDeferral()public ContentDialogButtonClickDeferral GetDeferral()Public Function GetDeferral() As ContentDialogButtonClickDeferral// This API is not available in Javascript.
Returns
ContentDialogButtonClickDeferral
ContentDialogButtonClickDeferral
ContentDialogButtonClickDeferral
ContentDialogButtonClickDeferral
A ContentDialogButtonClickDeferral that the app can use to respond asynchronously to a button click event.