RibbonButton Properties

Include Protected Members
Include Inherited Members

The RibbonButton type exposes the following members.

Properties

  Name Description
Public property ControlSize Gets or sets the size of the button.
Public property Description Gets or sets the text that appears on this button in a menu when the ItemSize property of the menu is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.
Public property Enabled Gets or sets a value that indicates whether this RibbonControl is enabled. (Inherited from RibbonControl.)
Public property Id Gets a string that Microsoft Office uses to identify this RibbonControl object. (Inherited from RibbonControl.)
Public property Image Gets or sets the image that is displayed on the button.
Public property ImageName Gets or sets the name that you can use to identify the button in the LoadImage event handler.
Public property KeyTip Gets or sets the keyboard shortcut of the button.
Public property Label Gets or sets the text that is displayed on the button.
Public property Name Gets or sets the name of this RibbonComponent. (Inherited from RibbonComponent.)
Public property OfficeImageId Gets or sets the image to display on the button, if you want to use a built-in Microsoft Office icon.
Public property Parent Gets a RibbonComponent that represents the parent of this RibbonComponent. (Inherited from RibbonComponent.)
Public property Position Gets or sets the position of the button, if the button is on the Microsoft Office Menu.
Public property Ribbon Gets the top-level Ribbon object that contains the control hierarchy. (Inherited from RibbonComponent.)
Public property RibbonUI Infrastructure. Gets the IRibbonUI instance that is provided by the Microsoft Office application to the Ribbon extensibility code. (Inherited from RibbonComponent.)
Public property ScreenTip Gets or sets tooltip text that appears when the user moves the pointer over the button.
Public property ShowImage Gets or sets a value that indicates whether the image that is associated with the button is visible.
Public property ShowLabel Gets or sets a value that indicates whether the label for the button is visible.
Public property Site Gets or sets the ISite associated with the IComponent. (Inherited from IComponent.)
Public property SuperTip Gets or sets multiline tip text that appears when the user moves the pointer over the button.
Public property Tag Gets or sets application-specific data that is associated with this RibbonComponent. (Inherited from RibbonComponent.)
Public property Visible Gets or sets a value that indicates whether this RibbonControl is visible. (Inherited from RibbonControl.)

Top

See Also

Reference

RibbonButton Interface

Microsoft.Office.Tools.Ribbon Namespace