2023 Class
Changes 0
C

ButtonData

Description:
Base class used to contain information necessary to construct a button in the Ribbon.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.RibbonItemData
    Autodesk.Revit.UI.ButtonData
      Autodesk.Revit.UI.PulldownButtonData
      Autodesk.Revit.UI.PushButtonData
public class ButtonData : RibbonItemData
Name Return Type Description Inherited From
M GetContextualHelp() nullNothingnullptr Gets the contextual help bound with this control. RibbonItemData
M SetContextualHelp(ContextualHelp) None Sets the contextual help bound with this button data. RibbonItemData
Name Return Type Description Inherited From
P Image ImageSource The image of the button.
P LargeImage ImageSource The large image of the button.
P Text string The user-visible text of the button.
P LongDescription string Long description of the command tooltip RibbonItemData
P Name string The name of the item. RibbonItemData
P ToolTipImage ImageSource The image to show as a part of the button extended tooltip RibbonItemData
P ToolTip string The description that appears as a ToolTip for the item. RibbonItemData