Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

RibbonSeparator Class (2007 System)

Represents a separator control for a group or menu on the Ribbon. This class cannot be inherited.

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

[ToolboxBitmapAttribute(typeof(RibbonSeparator), "RibbonSeparator.bmp")]
public sealed class RibbonSeparator : RibbonControl

A RibbonSeparator control draws a line, horizontal or vertical.

For the Microsoft Office Menu, a RibbonMenu, and a RibbonSplitButton, the RibbonSeparator is horizontal.

For the Ribbon, the RibbonSeparator is vertical.

You can set the Title property to have text on the separator in menus.

If the RibbonSeparator is located at the end of a menu, the RibbonSeparator is visible in the Ribbon Designer, but not in the Microsoft Office application.

RibbonSeparator implements separator and menuSeparator RibbonX elements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft