NavigationViewSelectionChangedEventArgs Klasse

Definition

public ref class NavigationViewSelectionChangedEventArgs 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 NavigationViewSelectionChangedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NavigationViewSelectionChangedEventArgs 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 NavigationViewSelectionChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NavigationViewSelectionChangedEventArgs
Public NotInheritable Class NavigationViewSelectionChangedEventArgs
Vererbung
Object Platform::Object IInspectable NavigationViewSelectionChangedEventArgs
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)

Hinweise

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1809 17763 RecommendedNavigationTransitionInfo
1809 17763 SelectedItemContainer

Eigenschaften

IsSettingsSelected

Ruft einen Wert ab, der angibt, ob selectedItem das Menüelement für Einstellungen ist.

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

RecommendedNavigationTransitionInfo

Ruft den für die Navigationsrichtung empfohlenen Navigationsübergang ab.

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

SelectedItem

Ruft das neu ausgewählte Menüelement ab.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs.SelectedItem (für WinUI im Windows App SDK siehe Windows App SDK Namespaces).

SelectedItemContainer

Ruft den Container für das ausgewählte Element ab.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs.SelectedItemContainer (für WinUI im Windows App SDK siehe Windows App SDK Namespaces).

Gilt für: