Dela via


RibbonGroup.Position Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Property Position As RibbonPosition
'Usage
Dim instance As RibbonGroup 
Dim value As RibbonPosition 

value = instance.Position

instance.Position = value
public RibbonPosition Position { get; set; }
public:
property RibbonPosition^ Position {
    RibbonPosition^ get ();
    void set (RibbonPosition^ value);
}
public function get Position () : RibbonPosition 
public function set Position (value : RibbonPosition)

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 Class

RibbonGroup Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

How to: Customize a Built-in Tab