Freigeben über


RibbonToggleButton.Position Property

Gets or sets the position of the RibbonToggleButton, if the control 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 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.

.NET Framework Security

See Also

Reference

RibbonToggleButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview