Freigeben über


NavigationViewDisplayModeChangedEventArgs Klasse

Definition

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

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationViewDisplayModeChangedEventArgs (informationen zu WinUI in der Windows App SDK finden Sie im Windows App SDK Namespaces).

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
Vererbung
Object Platform::Object IInspectable NavigationViewDisplayModeChangedEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Eigenschaften

DisplayMode

Ruft den neuen Anzeigemodus ab.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationViewDisplayModeChangedEventArgs.DisplayMode (informationen zu WinUI im Windows App SDK finden Sie im Windows App SDK Namespaces).

Gilt für: