ToggleButtonData(String, String) Constructor
Constructs a new instance of ToggleButtonData, where the ToggleButton will not be associated to an ExternalCommand.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ToggleButtonData( string name, string text )
Parameters
name
String
The internal name of the new button.
text
String
The user visible text seen on the new button.
Exceptions
Exception
Condition
ArgumentNullException
Thrown when
null
is passed for one or more arguments.
ArgumentException
Thrown when an empty string is passed for one or more arguments.
See Also
Reference
ToggleButtonData Class
ToggleButtonData Overload
Autodesk.Revit.UI Namespace