2026 Class
Changes 0
C

RibbonItem

Description:
The RibbonItem object represents an item on RibbonPanel, can be a push-button or a pull-down which should contain the information for creating one RibbonItem.
Remarks:
This class is not supported in Revit Macros.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.RibbonItem
    Autodesk.Revit.UI.ComboBox
    Autodesk.Revit.UI.ComboBoxMember
    Autodesk.Revit.UI.RadioButtonGroup
    Autodesk.Revit.UI.RibbonButton
    Autodesk.Revit.UI.TextBox
public class RibbonItem
Name Return Type Description Inherited From
M Equals(Object) Boolean Determines whether the specified Object is equal to the current Object . (Overrides Object . Equals(Object) )
M GetContextualHelp() ContextualHelp Gets the contextual help bound with this control.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetContextualHelp(ContextualHelp) None Sets the contextual help bound with this button.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Enabled bool Gets or sets a value indicating whether the item is enabled.
P ItemText string Gets or sets the text displayed on the item.
P ItemType RibbonItemType Gets the item type.
P LongDescription string Long description of the command tooltip
P Name string The name of the item.
P ToolTip string The description that appears as a ToolTip for the item.
P ToolTipImage ImageSource The image to show as a part of the button extended tooltip
P Visible bool Gets or sets a value indicating whether the item is visible.