Dela via


RibbonMenu.Position Property

Gets or sets the position of the menu, if the menu 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 menu, if the menu 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 menu is placed on a Ribbon tab.

.NET Framework Security

See Also

Reference

RibbonMenu Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

How to: Customize the Microsoft Office Menu