Share via


NavigationViewItem.MenuItems 屬性

定義

取得顯示為 NavigationViewItem 子系的功能表項目集合。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property IVector<Platform::Object ^> ^ MenuItems { IVector<Platform::Object ^> ^ get(); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
IVector<IInspectable> MenuItems();
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public IList<object> MenuItems { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; }
Public ReadOnly Property MenuItems As IList(Of Object)
<NavigationViewItem>
  <NavigationViewItem.MenuItems>
    NavigationViewItem
  </NavigationViewItem.MenuItems>
</NavigationViewItem>

屬性值

IList<Object>

IVector<Platform::Object>

IVector<IInspectable>

顯示為 NavigationViewItem 子系的功能表項目集合。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

適用於