[]
        
(Showing Draft Content)

C1.Win.C1Editor.ToolStrips.C1EditorToolStripButton

C1EditorToolStripButton Class

Represents a toolstrip button which performs a command in a linked C1Editor control.

Inheritance
C1EditorToolStripButton
Namespace: C1.Win.C1Editor.ToolStrips
Assembly: C1.Win.C1Editor.4.8.dll
Syntax
public class C1EditorToolStripButton : ToolStripButton, IDropTarget, IComponent, IDisposable
Remarks

Use this class to add a C1Editor-related button to a ToolStrip.

Examples

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);

Constructors

Name Description
C1EditorToolStripButton()

Properties

Name Description
Command

Gets or sets the command.

Editor

Gets or sets the editor.

Methods

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.