ToggleButtonData Class


Toggle Button Data Class

This class contains information necessary to construct a toggle button in a RadioButtonGroup.
Inheritance Hierarchy

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ToggleButtonData : PushButtonData

The ToggleButtonData type exposes the following members.

Constructors
Name Description
Public method ToggleButtonData(String, String) Constructs a new instance of ToggleButtonData, where the ToggleButton will not be associated to an ExternalCommand.
Public method ToggleButtonData(String, String, String, String) Constructs a new instance of ToggleButtonData, where the ToggleButton will execute an ExternalCommand when clicked.
Top
Properties
Name Description
Public property AssemblyName The assembly path of the button.
(Inherited from PushButtonData )
Public property AvailabilityClassName The full class name for the class providing the entry point to decide availability of this push button.
(Inherited from PushButtonData )
Public property ClassName The name of the class containing the implementation for the command.
(Inherited from PushButtonData )
Public property Image The image of the button.
(Inherited from ButtonData )
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ItemData )
Public property LargeImage The large image of the button.
(Inherited from ButtonData )
Public property LongDescription Long description of the command tooltip
(Inherited from RibbonItemData )
Public property Name The internal name of the item.
(Inherited from ItemData )
Public property Text The user-visible text of the button.
(Inherited from ButtonData )
Public property ToolTip The tooltip of item.
(Inherited from ItemData )
Public property ToolTipImage The image to show as a part of the button extended tooltip
(Inherited from RibbonItemData )
Top
Methods
Name Description
Public method Dispose
(Inherited from ItemData )
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetContextualHelp Gets the contextual help bound with this control.
(Inherited from RibbonItemData )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method SetContextualHelp Sets the contextual help bound with this button data.
(Inherited from RibbonItemData )
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also