NavigationViewSelectionChangedEventArgs.IsSettingsSelected 属性

定义

获取一个值,该值指示 SelectedItem 是否为“设置”的菜单项。

适用于 UWP 的等效 WinUI 2 APIMicrosoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs.IsSettingsSelected (in the Windows 应用 SDK,请参阅Windows 应用 SDK命名空间) 。

public:
 property bool IsSettingsSelected { bool get(); };
bool IsSettingsSelected();
public bool IsSettingsSelected { get; }
var boolean = navigationViewSelectionChangedEventArgs.isSettingsSelected;
Public ReadOnly Property IsSettingsSelected As Boolean

属性值

Boolean

bool

如果 SelectedItem 是“设置”的菜单项,则为 true;否则为 false

适用于