Share via


RibbonGallery.Position Property (2007 System)

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

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Property Position As RibbonPosition
'Usage
Dim instance As RibbonGallery 
Dim value As RibbonPosition 

value = instance.Position

instance.Position = value
public RibbonPosition Position { get; set; }
public:
property RibbonPosition^ Position {
    RibbonPosition^ get ();
    void set (RibbonPosition^ value);
}
public function get Position () : RibbonPosition 
public function set Position (value : RibbonPosition)

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonPosition
A RibbonPosition that represents the position of the gallery, if the gallery 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 gallery is placed in a group on the Ribbon.

.NET Framework Security

See Also

Reference

RibbonGallery Class

RibbonGallery Members

Microsoft.Office.Tools.Ribbon Namespace

RibbonPosition

Other Resources

List of Control IDs

How to: Customize the Microsoft Office Menu

Ribbon Object Model Overview