[]
        
(Showing Draft Content)

C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox

C1EditorToolStripComboBox Class

Represents a toolstrip combo box which performs a command.

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

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

Examples

The following code example demonstrates how to create a C1EditorToolStripComboBox and add it to a ToolStrip.

C1EditorToolStripComboBox comboBox = new C1EditorToolStripComboBox();
comboBox.Command = CommandComboBox.Style;
comboBox.Editor = c1Editor1;
toolStrip1.Items.Add(comboBox);

Constructors

Name Description
C1EditorToolStripComboBox()

Properties

Name Description
Command

The command.

Editor

The editor.

Items

Gets a collection of the items contained in this System.Windows.Forms.ToolStripComboBox.

Text

Gets or sets the text to be displayed on the hosted control.

Methods

Name Description
OnCommandChanged()

Occurs when command is changed.

OnEditorChanged()

Occurs when the editor is changed.

OnEditorChanging()

Occurs when the editor is changing.

OnKeyDown(KeyEventArgs)

Overrides OnKeyDown.

OnLostFocus(EventArgs)

Overrides OnLostFocus.

OnSelectedIndexChanged(EventArgs)

Overrides OnSelectedIndexChanged.