Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property Position As RibbonPosition
'Usage
Dim instance As RibbonSeparator
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 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace