PushButtonData
Description:
This class contains information necessary to construct a push button in the Ribbon.
This class contains information necessary to construct a push button in the Ribbon.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.RibbonItemData
Autodesk.Revit.UI.ButtonData
Autodesk.Revit.UI.PushButtonData
Autodesk.Revit.UI.ToggleButtonData
System.Object
Autodesk.Revit.UI.RibbonItemData
Autodesk.Revit.UI.ButtonData
Autodesk.Revit.UI.PushButtonData
Autodesk.Revit.UI.ToggleButtonData
public class PushButtonData : ButtonData
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| PushButtonData(String, String, String, String) | None | Constructs a new instance of PushButtonData. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetContextualHelp() | nullNothingnullptr | Gets the contextual help bound with this control. | RibbonItemData |
| SetContextualHelp(ContextualHelp) | None | Sets the contextual help bound with this button data. | RibbonItemData |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AssemblyName | string | The assembly path of the button. | |
| AvailabilityClassName | string | The full class name for the class providing the entry point to decide availability of this push button. | |
| ClassName | string | The name of the class containing the implementation for the command. | |
| LongDescription | string | Long description of the command tooltip | RibbonItemData |
| Name | string | The name of the item. | RibbonItemData |
| ToolTipImage | ImageSource | The image to show as a part of the button extended tooltip | RibbonItemData |
| ToolTip | string | The description that appears as a ToolTip for the item. | RibbonItemData |
| Image | ImageSource | The image of the button. | ButtonData |
| LargeImage | ImageSource | The large image of the button. | ButtonData |
| Text | string | The user-visible text of the button. | ButtonData |