Freigeben über


NavigationViewPaneClosingEventArgs Klasse

Definition

Stellt Daten für das NavigationView.PaneClosing-Ereignis bereit.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

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

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)

Eigenschaften

Cancel

Ruft einen Wert ab, der angibt, ob das Ereignis abgebrochen werden soll, oder legt diesen fest.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs.Cancel (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

Gilt für: