Udostępnij za pośrednictwem


RibbonTab.Position Property (2007 System)

Gets or sets the position of the tab on the Ribbon in relation to the built-in tabs.

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 RibbonTab 
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 tab on the Ribbon in relation to the built-in tabs.

Remarks

Position can be set only at design time.

This property has no effect for built-in tabs.

.NET Framework Security

See Also

Reference

RibbonTab Class

RibbonTab Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview