NavigationViewItem.MenuItems Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of menu items displayed as children of the 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();
C#
[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)
XAML
<NavigationViewItem>
<NavigationViewItem.MenuItems>
NavigationViewItem
</NavigationViewItem.MenuItems>
</NavigationViewItem>
The collection of menu items displayed as children of the NavigationViewItem.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute
Produkt | Verzie |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |