MenuItem.GetContainerForItemOverride Method
Definition
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.
Creates or identifies the element used to display a specified item.
protected:
override System::Windows::DependencyObject ^ GetContainerForItemOverride();
protected override System.Windows.DependencyObject GetContainerForItemOverride ();
override this.GetContainerForItemOverride : unit -> System.Windows.DependencyObject
Protected Overrides Function GetContainerForItemOverride () As DependencyObject
Returns
The element used to display a specified item.