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.ObjectAutodesk.Revit.UI.RibbonItem
More
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public class RibbonItem
The RibbonItem type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Enabled | Gets or sets a value indicating whether the item is enabled. |
![]() | ItemText | Gets or sets the text displayed on the item. |
![]() | ItemType | Gets the item type. |
![]() | LongDescription | Long description of the command tooltip |
![]() | Name | The name of the item. |
![]() | ToolTip | The description that appears as a ToolTip for the item. |
![]() | ToolTipImage | The image to show as a part of the button extended tooltip |
![]() | Visible | Gets or sets a value indicating whether the item is visible. |
Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object)) |
![]() | GetContextualHelp | Gets the contextual help bound with this control. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | SetContextualHelp | Sets the contextual help bound with this button. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
Remarks
This class is not supported in Revit Macros.See Also
Reference
Inheritance Hierarchy
System.ObjectAutodesk.Revit.UI.RibbonItem
Autodesk.Revit.UI.ComboBox
Autodesk.Revit.UI.ComboBoxMember
Autodesk.Revit.UI.RadioButtonGroup
Autodesk.Revit.UI.RibbonButton
Autodesk.Revit.UI.TextBox