RibbonToggleButton.Position Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the position of the RibbonToggleButton, if the control 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 RibbonToggleButton, if the control is on the Microsoft Office Menu.
Remarks
You cannot use this property to set the position of a RibbonToggleButton control within a group. To arrange buttons, drag them to the correct positions in the Ribbon Designer.
This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.