NavigationView.MenuItemFromContainer(DependencyObject) NavigationView.MenuItemFromContainer(DependencyObject) NavigationView.MenuItemFromContainer(DependencyObject) NavigationView.MenuItemFromContainer(DependencyObject) Method

Definition

Returns the item that corresponds to the specified, generated container.

public : Platform::Object MenuItemFromContainer(DependencyObject container)
winrt::Windows::Foundation::IInspectable MenuItemFromContainer(DependencyObject container) const;
public object MenuItemFromContainer(DependencyObject container)
Public Function MenuItemFromContainer(container As DependencyObject) As object

Parameters

container
DependencyObject DependencyObject

The DependencyObject that corresponds to the item to be returned.

Returns

object object

The contained item, or the container if it does not contain an item.