ToggleButtonData(String, String)
Description:
Constructs a new instance of ToggleButtonData, where the ToggleButton will not be associated to an ExternalCommand.
Constructs a new instance of ToggleButtonData, where the ToggleButton will not be associated to an ExternalCommand.
Overloads (2):
public ToggleButtonData(
string name,
string text
)
-
StringnameThe internal name of the new button.
-
StringtextThe user visible text seen on the new button.
-
Thrown whennullNothingnullptra null reference (Nothingin Visual Basic)is passed for one or more arguments.
-
Thrown when an empty string is passed for one or more arguments.