Partager via


RibbonGroup.Position Property

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

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property Position As RibbonPosition
RibbonPosition Position { get; set; }

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonPosition
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.

.NET Framework Security

See Also

Reference

RibbonGroup Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

How to: Customize a Built-in Tab