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 |
|---|---|---|
| Equals(Object) | bool | Determines whether the specified is equal to the current . |
| GetContextualHelp() | nullNothingnullptr | Gets the contextual help bound with this control. |
| SetContextualHelp(ContextualHelp) | None | Sets the contextual help bound with this button. |
| Name | Return Type | Description |
|---|---|---|
| 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. |
| ToolTipImage | ImageSource | The image to show as a part of the button extended tooltip |
| ToolTip | string | The description that appears as a ToolTip for the item. |
| Visible | bool | Gets or sets a value indicating whether the item is visible. |