Condividi tramite


NavigationViewDisplayModeChangedEventArgs Classe

Definizione

Fornisce dati per l'evento NavigationView.DisplayModeChanged .

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

public ref class NavigationViewDisplayModeChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class NavigationViewDisplayModeChangedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NavigationViewDisplayModeChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class NavigationViewDisplayModeChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NavigationViewDisplayModeChangedEventArgs
Public NotInheritable Class NavigationViewDisplayModeChangedEventArgs
Ereditarietà
Object Platform::Object IInspectable NavigationViewDisplayModeChangedEventArgs
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Proprietà

DisplayMode

Ottiene la nuova modalità di visualizzazione.

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

Si applica a