[]
Represents a toolstrip button which performs a command in a linked C1Editor control.
public class C1EditorToolStripButton : ToolStripButton, IDropTarget, IComponent, IDisposable
Use this class to add a C1Editor-related button to a ToolStrip.
The following code example demonstrates how to create a C1EditorToolStripButton and add it to a ToolStrip.
C1EditorToolStripButton button = new C1EditorToolStripButton();
button.Command = CommandButton.ClearFormatting;
button.Editor = c1Editor1;
toolStrip1.Items.Add(button);
| Name | Description |
|---|---|
| C1EditorToolStripButton() |
| Name | Description |
|---|---|
| Command | Gets or sets the command. |
| Editor | Gets or sets the editor. |
| Name | Description |
|---|---|
| OnClick(EventArgs) | Overrides OnClick. |
| OnCommandChanged() | Occurs when the command is changed. |
| OnEditorChanged() | Occurs when the editor is changed. |
| OnEditorChanging() | Occurs when the editor is changing. |