2023 Class
Changes 0
C

RibbonButton

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