Constructor for an internal button that invokes a command.
| C# |
public ButtonInfo( HtmlEditor editor, string name, string toolTip, string commandName )
- editor (HtmlEditor)
- Reference to the HtmlEditor.
- name (String)
- Name of the button.
- toolTip (String)
- Tooltip for the button.
- commandName (String)
- Command name associated with the button.
The command name is used to automatically call the client-side
ExecuteCommand method on click, as well as to alter the button
presentation visually when "set", if applicable.