Condividi tramite


NavigationViewPaneClosingEventArgs Classe

Definizione

Fornisce dati per l'evento NavigationView.PaneClosing .

API WinUI 2 equivalente per UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs (per WinUI nell'SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

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
Ereditarietà
Object Platform::Object IInspectable NavigationViewPaneClosingEventArgs
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1803 (è stato introdotto in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v6.0)

Proprietà

Cancel

Ottiene o imposta un valore che indica se l'evento deve essere annullato.

API WinUI 2 equivalente per UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs.Cancel (per WinUI nei SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

Si applica a