ContentDialogClosingEventArgs Klasse

Definition

Stellt Daten für das Abschlussereignis bereit.

public ref class ContentDialogClosingEventArgs 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 ContentDialogClosingEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentDialogClosingEventArgs 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 ContentDialogClosingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDialogClosingEventArgs
Public NotInheritable Class ContentDialogClosingEventArgs
Vererbung
Object Platform::Object IInspectable ContentDialogClosingEventArgs
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 das Schließen des Dialogfelds abbrechen kann, oder legt diesen fest. Ein true-Wert für Cancel bricht das Standardverhalten ab.

Result

Ruft das ContentDialogResult des Schließen-Ereignisses ab.

Methoden

GetDeferral()

Ruft einen ContentDialogClosingDeferral ab, mit dem die App asynchron auf das Schließen des Ereignisses reagieren kann.

Gilt für: