MenuBase.GetContainerForItemOverride 方法

定义

创建或标识用于显示指定项的元素。Creates or identifies the element used to display the 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

返回

用于显示指定项的元素。The element used to display the specified item.

适用于