Share via


RibbonButton.Position Property

Definition

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

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 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.

Applies to