RibbonItem Class


Ribbon Item Class

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.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI RibbonItem
More

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RibbonItem

The RibbonItem type exposes the following members.

Properties
Name Description
Public property Enabled Gets or sets a value indicating whether the item is enabled.
Public property ItemText Gets or sets the text displayed on the item.
Public property ItemType Gets the item type.
Public property LongDescription Long description of the command tooltip
Public property Name The name of the item.
Public property ToolTip The description that appears as a ToolTip for the item.
Public property ToolTipImage The image to show as a part of the button extended tooltip
Public property Visible Gets or sets a value indicating whether the item is visible.
Top
Methods
Name Description
Public method Equals Determines whether the specified Object is equal to the current Object .
(Overrides Object Equals(Object) )
Public method GetContextualHelp Gets the contextual help bound with this control.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method SetContextualHelp Sets the contextual help bound with this button.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
This class is not supported in Revit Macros.
See Also
Inheritance Hierarchy