PushButton Members

The PushButton type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from RibbonItem.)
Public methodGetContextualHelp
Gets the contextual help bound with this control.
(Inherited from RibbonItem.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetContextualHelp
Sets the contextual help bound with this button.
(Inherited from RibbonItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAssemblyName
The assembly path of the button.
Public propertyAvailabilityClassName
The full class name for the class providing the entry point to decide availability of this push button.
Public propertyClassName
The name of the class containing the implementation for the command.
Public propertyEnabled
Gets or sets a value indicating whether the item is enabled.
(Inherited from RibbonItem.)
Public propertyImage
The image of the button.
(Inherited from RibbonButton.)
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.
(Inherited from RibbonButton.)
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.
(Inherited from RibbonButton.)
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