ContentDialogButtonClickEventArgs Klasse

Definition

Stellt Daten für die Schaltflächenklickereignisse bereit.

public ref class ContentDialogButtonClickEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ContentDialogButtonClickEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentDialogButtonClickEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContentDialogButtonClickEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDialogButtonClickEventArgs
Public NotInheritable Class ContentDialogButtonClickEventArgs
Vererbung
Object Platform::Object IInspectable ContentDialogButtonClickEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Eigenschaften

Cancel

Ruft einen Wert ab, der den Klick auf die Schaltfläche abbrechen kann, oder legt diesen fest. Ein true-Wert für Cancel bricht das Standardverhalten auf.

Methoden

GetDeferral()

Ruft einen ContentDialogButtonClickDeferral ab, mit dem die App asynchron auf ein Schaltflächenklickereignis reagieren kann.

Gilt für: