2023 Class
Changes 0
C

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.
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
public class RibbonItem
Name Return Type Description
M Equals(Object) bool Determines whether the specified is equal to the current .
M GetContextualHelp() nullNothingnullptr Gets the contextual help bound with this control.
M SetContextualHelp(ContextualHelp) None Sets the contextual help bound with this button.
Name Return Type Description
P Enabled bool Gets or sets a value indicating whether the item is enabled.
P ItemText string Gets or sets the text displayed on the item.
P ItemType RibbonItemType Gets the item type.
P LongDescription string Long description of the command tooltip
P Name string The name of the item.
P ToolTipImage ImageSource The image to show as a part of the button extended tooltip
P ToolTip string The description that appears as a ToolTip for the item.
P Visible bool Gets or sets a value indicating whether the item is visible.