共用方式為


RibbonGroup.Position Property

Definition

Gets or sets the position of a group on a built-in tab, relative to a built-in group on the tab.

public:
 property Microsoft::Office::Tools::Ribbon::RibbonPosition ^ Position { Microsoft::Office::Tools::Ribbon::RibbonPosition ^ get(); void set(Microsoft::Office::Tools::Ribbon::RibbonPosition ^ value); };
public Microsoft.Office.Tools.Ribbon.RibbonPosition Position { get; set; }
member this.Position : Microsoft.Office.Tools.Ribbon.RibbonPosition with get, set
Public Property Position As RibbonPosition

Property Value

A RibbonPosition that represents the position of the group, relative to a built-in group on the tab.

Remarks

The Position property has an effect only if the group is on a built-in tab. For more information, see How to: Customize a Built-in Tab.

The Position property can be set only before the Ribbon is loaded. For more information, see Ribbon Object Model Overview.

Applies to