ToggleButtonData(String, String, String, String)
Description:
Constructs a new instance of ToggleButtonData, where the ToggleButton will execute an ExternalCommand when clicked.
Constructs a new instance of ToggleButtonData, where the ToggleButton will execute an ExternalCommand when clicked.
Overloads (2):
public ToggleButtonData(
string name,
string text,
string assemblyName,
string className
)
-
nameThe internal name of the new button.
-
textThe user visible text seen on the new button.
-
assemblyNameThe assembly path of the button.
-
classNameThe name of the class containing the implementation for the command.
-
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.