RibbonApplicationMenu.GetContainerForItemOverride 方法

定义

返回新 RibbonApplicationMenuItem 对象。

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

返回

DependencyObject

一个新的菜单项对象,它是该项的容器。

适用于