-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Controls.NavigationView.ContainerFromMenuItem(System.Object) |
winrt method |
Returns the container corresponding to the specified menu item.
The menu item to retrieve the container for.
A container that corresponds to the specified menu item, if the item has a container and exists in the collection; otherwise, null.