ToggleButtonData
Description:
This class contains information necessary to construct a toggle button in a RadioButtonGroup.
This class contains information necessary to construct a toggle button in a RadioButtonGroup.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.ItemData
Autodesk.Revit.UI.RibbonItemData
Autodesk.Revit.UI.ButtonData
Autodesk.Revit.UI.PushButtonData
Autodesk.Revit.UI.ToggleButtonData
System.Object
Autodesk.Revit.UI.ItemData
Autodesk.Revit.UI.RibbonItemData
Autodesk.Revit.UI.ButtonData
Autodesk.Revit.UI.PushButtonData
Autodesk.Revit.UI.ToggleButtonData
public class ToggleButtonData : PushButtonData
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ToggleButtonData(String, String) | None | Constructs a new instance of ToggleButtonData, where the ToggleButton will not be associated to an ExternalCommand. | |
| ToggleButtonData(String, String, String, String) | None | Constructs a new instance of ToggleButtonData, where the ToggleButton will execute an ExternalCommand when clicked. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | (Inherited from ItemData ) | ItemData |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetContextualHelp() | ContextualHelp | Gets the contextual help bound with this control. (Inherited from RibbonItemData ) | RibbonItemData |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| SetContextualHelp(ContextualHelp) | None | Sets the contextual help bound with this button data. (Inherited from RibbonItemData ) | RibbonItemData |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AssemblyName | string | The assembly path of the button. (Inherited from PushButtonData ) | PushButtonData |
| AvailabilityClassName | string | The full class name for the class providing the entry point to decide availability of this push button. (Inherited from PushButtonData ) | PushButtonData |
| ClassName | string | The name of the class containing the implementation for the command. (Inherited from PushButtonData ) | PushButtonData |
| Image | ImageSource | The image of the button. (Inherited from ButtonData ) | ButtonData |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from ItemData ) | ItemData |
| LargeImage | ImageSource | The large image of the button. (Inherited from ButtonData ) | ButtonData |
| LongDescription | string | Long description of the command tooltip (Inherited from RibbonItemData ) | RibbonItemData |
| Name | string | The internal name of the item. (Inherited from ItemData ) | ItemData |
| Text | string | The user-visible text of the button. (Inherited from ButtonData ) | ButtonData |
| ToolTip | string | The tooltip of item. (Inherited from ItemData ) | ItemData |
| ToolTipImage | ImageSource | The image to show as a part of the button extended tooltip (Inherited from RibbonItemData ) | RibbonItemData |