Microsoft.Office.Tools.Ribbon
TOC
Collapse the table of content
Expand the table of content

Microsoft.Office.Tools.Ribbon Namespace

 

The Microsoft.Office.Tools.Ribbon namespace contains components, controls, and supporting collections, classes, and enumerations that enable you to customize the Ribbon in the user interface (UI) of several Microsoft Office applications.

ClassDescription
System_CAPS_pubclassRibbonBase

Serves as the base class for Microsoft Office Ribbon customizations.

System_CAPS_pubclassRibbonCollectionBase

Provides access to the IRibbonExtension objects in a Ribbon customization.

InterfaceDescription
System_CAPS_pubinterfaceIRibbonExtension

Represents an extension of a OfficeRibbon object.

System_CAPS_pubinterfaceOfficeRibbon

Represents a Microsoft Office Ribbon customization that is created by using the Ribbon Designer in an Office project in Visual Studio.

System_CAPS_pubinterfaceRibbonBox

Arranges and aligns controls on a custom Ribbon.

System_CAPS_pubinterfaceRibbonButton

Represents a button on a custom Ribbon.

System_CAPS_pubinterfaceRibbonButtonGroup

Represents a group of button controls on a Ribbon.

System_CAPS_pubinterfaceRibbonCheckBox

Represents a check box control on a Ribbon.

System_CAPS_pubinterfaceRibbonComboBox

Represents a combo box on a custom Ribbon.

System_CAPS_pubinterfaceRibbonComponent

Contains methods and members that enable communication with Visual Studio, navigation through the control hierarchy in your application, and optimization of the run time layout of controls.

System_CAPS_pubinterfaceRibbonControl

Provides properties used by controls in a Microsoft Office customization.

System_CAPS_pubinterfaceRibbonControlEventArgs

Provides data for a variety of events that are raised in a Microsoft Office customization.

System_CAPS_pubinterfaceRibbonControlId

Encapsulates an identification string that Microsoft Office uses to refer to controls.

System_CAPS_pubinterfaceRibbonDialogLauncher

Represents a small standardized icon on a group that can be used to open a dialog box.

System_CAPS_pubinterfaceRibbonDropDown

Represents a list of items that a user can choose from and a list of Ribbon buttons that a user can click.

System_CAPS_pubinterfaceRibbonDropDownItem

Represents an item in a drop-down list in a Ribbon drop-down.

System_CAPS_pubinterfaceRibbonEditBox

Represents an edit box on a Ribbon.

System_CAPS_pubinterfaceRibbonFactory

Provides methods that you can use to create Ribbon controls for a Microsoft Office Ribbon customization.

System_CAPS_pubinterfaceRibbonGallery

Represents a control that displays a menu of RibbonDropDownItem objects and RibbonButton controls.

System_CAPS_pubinterfaceRibbonGroup

Represents a group of controls on a Ribbon tab.

System_CAPS_pubinterfaceRibbonLabel

Represents a label on a RibbonGroup or RibbonBox.

System_CAPS_pubinterfaceRibbonLoadImageEventArgs

Provides data for the LoadImage event.

System_CAPS_pubinterfaceRibbonManager

Manages the Ribbon customizations that are created by using the Ribbon Designer in an Office project.

System_CAPS_pubinterfaceRibbonMenu

Represents a menu on a Ribbon tab or on the Microsoft Office Menu.

System_CAPS_pubinterfaceRibbonOfficeMenu

Provides access to controls that you add to the Microsoft Office Menu.

System_CAPS_pubinterfaceRibbonPosition

Represents the location of a Ribbon control on the Microsoft Office Menu relative to a built-in control, the location of a tab relative to a built-in tab, or the location of a group relative to a built-in group.

System_CAPS_pubinterfaceRibbonPositionStatics

Provides methods that enable you to specify the position of a control, group, or tab in a Ribbon customization.

System_CAPS_pubinterfaceRibbonReadOnlyCollection

Provides access to the IRibbonExtension objects in a Ribbon customization.

System_CAPS_pubinterfaceRibbonSeparator

Represents a separator control for a group or menu on the Ribbon.

System_CAPS_pubinterfaceRibbonSplitButton

A Ribbon control that combines a button or a toggle button and a drop-down menu.

System_CAPS_pubinterfaceRibbonTab

Contains one or more groups of controls on the Ribbon.

System_CAPS_pubinterfaceRibbonToggleButton

Represents a toggle button control on a Ribbon.

System_CAPS_pubinterfaceRibbonUIEventArgs

Provides data for events that are raised in the Ribbon.

DelegateDescription
System_CAPS_pubdelegateRibbonControlEventHandler

Represents the method that will handle events of an RibbonControl.

System_CAPS_pubdelegateRibbonLoadImageEventHandler

Represents the method that will handle the LoadImage event of an OfficeRibbon.

System_CAPS_pubdelegateRibbonUIEventHandler

Represents the method that will handle the Load event of an OfficeRibbon.

EnumerationDescription
System_CAPS_pubenumRibbonBoxStyle

Specifies whether controls are aligned vertically or horizontally on a RibbonBox.

System_CAPS_pubenumRibbonButtonType

Specifies the type of button that a RibbonSplitButton displays.

System_CAPS_pubenumRibbonControlIdType

Contains values that determine whether a RibbonControlId identifies a Microsoft Office control or a custom control.

System_CAPS_pubenumRibbonPositionType

Specifies the position of a control on the Microsoft Office Menu, a group of controls on a built-in tab, or a tab among built-in or custom tabs.

All of the controls in the Microsoft.Office.Tools.Ribbon namespace can be added to your Office customization by dragging them from the Office Ribbon Controls tab of the ToolBox onto the Ribbon Designer. In addition, the RibbonMenu control enables you to add the following controls at run time:

To add these controls to a RibbonMenu at run time, you must set the Dynamic property of the menu to true at design time.

When you create a control at run time to add to a menu, you can change any properties of the newly created control before you add it to the menu. After you add a control to a menu, some of its properties become read-only. For more information, see Ribbon Object Model Overview.

You can use other properties to control the appearance and behavior of your controls at run time. For example, you can implement run-time changes to the user interface by using the Enabled and Visible properties to enable, disable, show, and hide controls that were added at design time.

Return to top
Show:
© 2016 Microsoft