Share via


RibbonButton.Position Property

Gets or sets the position of the button, if the button is on the Microsoft Office Menu.

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 RibbonButton, if the control is on the Microsoft Office Menu.

Remarks

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

The Position property has no effect when the button is placed in a group on the Ribbon. For more information, see How to: Add Controls to the Backstage View.

.NET Framework Security

See Also

Reference

RibbonButton Interface

Microsoft.Office.Tools.Ribbon Namespace

RibbonPosition

Other Resources

2007 Office System Document: Lists of Control IDs

How to: Add Controls to the Backstage View

Ribbon Object Model Overview