[]
        
(Showing Draft Content)

C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton

C1EditorToolStripSplitButton Class

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

Namespace: C1.Win.C1Editor.ToolStrips
Assembly: C1.Win.C1Editor.4.8.dll
Syntax
public class C1EditorToolStripSplitButton : ToolStripSplitButton, IDropTarget, IComponent, IDisposable
Remarks

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

Examples

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

Constructors

Name Description
C1EditorToolStripSplitButton()

Properties

Name Description
Checked

Gets or sets a value indicating whether the button is in the checked state.

Command

Gets or sets the command.

Editor

Gets or sets the editor.

Methods

Name Description
OnButtonClick(EventArgs)

Overrides OnButtonClick.

OnCommandChanged()

Occurs when the command is changed.

OnDropDownItemClicked(ToolStripItemClickedEventArgs)

Overrides OnDropDownItemClicked.

OnEditorChanged()

Occurs when the editor is changed.

OnEditorChanging()

Occurs when the editor is changing.

OnPaint(PaintEventArgs)

Overrides OnPaint.