Share

PushButtonData Class

This class contains information necessary to construct a push button in the Ribbon.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.UI.ItemData
    Autodesk.Revit.UI.RibbonItemData
      Autodesk.Revit.UI.ButtonData
        Autodesk.Revit.UI.PushButtonData
          Autodesk.Revit.UI.ToggleButtonData


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class PushButtonData : ButtonData

The PushButtonData type exposes the following members.

Constructors

 NameDescription
Public methodPushButtonDataConstructs a new instance of PushButtonData.

Properties

 NameDescription
Public propertyAssemblyNameThe assembly path of the button.
Public propertyAvailabilityClassNameThe full class name for the class providing the entry point to decide availability of this push button.
Public propertyClassNameThe name of the class containing the implementation for the command.
Public propertyImageThe image of the button.
(Inherited from ButtonData)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ItemData)
Public propertyLargeImageThe large image of the button.
(Inherited from ButtonData)
Public propertyLongDescription Long description of the command tooltip
(Inherited from RibbonItemData)
Public propertyName The internal name of the item.
(Inherited from ItemData)
Public propertyTextThe user-visible text of the button.
(Inherited from ButtonData)
Public propertyToolTip The tooltip of item.
(Inherited from ItemData)
Public propertyToolTipImageThe image to show as a part of the button extended tooltip
(Inherited from RibbonItemData)

Methods

 NameDescription
Public methodDispose
(Inherited from ItemData)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetContextualHelpGets the contextual help bound with this control.
(Inherited from RibbonItemData)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetContextualHelpSets the contextual help bound with this button data.
(Inherited from RibbonItemData)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?