[]
Specifies the command used in a C1EditorToolStripSplitButton.
public enum CommandSplitButton
The CommandSplitButton enumeration is used by the C1EditorToolStripSplitButton to set associated with the command text, tooltip, image, and menu items. The command defines also whether the button is checked or unchecked and whether the button is enabled or disabled.
The following code example demonstrates how to create a C1EditorToolStripSplitButton and add it to a ToolStrip.
C1EditorToolStripSplitButton button = new C1EditorToolStripSplitButton();
button.Command = CommandSplitButton.Border;
button.Editor = c1Editor1;
toolStrip1.Items.Add(button);
Name | Description |
---|---|
Border | Border |
None | Empty command. |