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.
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.
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
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 |
|---|---|---|---|
| Equals(Object) | Boolean | Determines whether the specified Object is equal to the current Object . (Overrides Object . Equals(Object) ) | |
| GetContextualHelp() | ContextualHelp | Gets the contextual help bound with this control. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| SetContextualHelp(ContextualHelp) | None | Sets the contextual help bound with this button. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Enabled | bool | Gets or sets a value indicating whether the item is enabled. | |
| ItemText | string | Gets or sets the text displayed on the item. | |
| ItemType | RibbonItemType | Gets the item type. | |
| LongDescription | string | Long description of the command tooltip | |
| Name | string | The name of the item. | |
| ToolTip | string | The description that appears as a ToolTip for the item. | |
| ToolTipImage | ImageSource | The image to show as a part of the button extended tooltip | |
| Visible | bool | Gets or sets a value indicating whether the item is visible. |