Поделиться через


RibbonSeparator.Position Property

Gets or sets the position of the separator relative to a built-in control, or the location of a group relative to another group, if the separator 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 value that represents the position of the separator on the Microsoft Office Menu relative to a built-in control, or the location of a group relative to another group.

Remarks

The Position property has an effect only when the RibbonSeparator is on the Microsoft Office Menu. For more information, see How to: Customize the Microsoft Office Menu.

.NET Framework Security

See Also

Reference

RibbonSeparator Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview