Skip to content

RibbonItem

Public 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

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

Gets the item type.


Public Property
LongDescription

Long description of the command tooltip


Public Property

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.


Methods

Name

Description


Public Method

Determines whether the specified Object is equal to the current Object.
(Overrides Object.Equals(Object))


Public Method

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

Sets the contextual help bound with this button.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


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