NavigationViewItem.MenuItems 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得以 NavigationViewItem 子項目形式顯示的選單項目集合。
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; }
var iVector = navigationViewItem.menuItems;
Public ReadOnly Property MenuItems As IList(Of Object)
<NavigationViewItem>
<NavigationViewItem.MenuItems>
NavigationViewItem
</NavigationViewItem.MenuItems>
</NavigationViewItem>
屬性值
選單項目集合,作為 NavigationViewItem 的子節點顯示。
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute