< Rev API Docs

The RibbonButton type exposes the following members.

Properties

  NameDescription
Public propertyEnabled
Gets or sets a value indicating whether the item is enabled.
(Inherited from RibbonItem.)
Public propertyImage
The image of the button.
Public propertyIsEnabledByContext
Indicates if this button can be executed. True if the pushbutton is permitted to be executed based on the current Revit context (active document, active view and active tool). False if the pushbutton is disabled because of the active context.
Public propertyItemText
Gets or sets the text displayed on the item.
(Inherited from RibbonItem.)
Public propertyItemType
Gets the item type.
(Inherited from RibbonItem.)
Public propertyLargeImage
The large image shown on the button.
Public propertyLongDescription
Long description of the command tooltip
(Inherited from RibbonItem.)
Public propertyName
The name of the item.
(Inherited from RibbonItem.)
Public propertyToolTip
The description that appears as a ToolTip for the item.
(Inherited from RibbonItem.)
Public propertyToolTipImage
The image to show as a part of the button extended tooltip
(Inherited from RibbonItem.)
Public propertyVisible
Gets or sets a value indicating whether the item is visible.
(Inherited from RibbonItem.)

See Also