編輯

共用方式為


RibbonContextMenu.GetContainerForItemOverride Method

Definition

Returns a new RibbonMenuItem object.

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

A new RibbonMenuItem container object that is used to display an item from the Items collection.

Applies to