Constructs a new instance of ToggleButtonData, where the ToggleButton will execute an ExternalCommand when clicked.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ToggleButtonData(
string name,
string text,
string assemblyName,
string className
)
Parameters
- name String
- The internal name of the new button.
- text String
- The user visible text seen on the new button.
- assemblyName String
- The assembly path of the button.
- className String
- The name of the class containing the implementation for the command.
Exceptions
See Also
Reference