Share via


RibbonSplitButton.Position Property (2007 System)

Gets or sets the position of the RibbonSplitButton control, if the control 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 RibbonSplitButton 
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 RibbonSplitButton control, if the control is on the Microsoft Office Menu.

Remarks

You cannot use this property to set the position of a RibbonSplitButton control within a group. To arrange RibbonSplitButton controls, drag them to the correct positions or use the CTRL+arrow keys to move the controls 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

RibbonSplitButton Class

RibbonSplitButton Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview