[]
Represents a toolstrip combo box which performs a command.
public class C1EditorToolStripComboBox : ToolStripComboBox, IDropTarget, IComponent, IDisposable
Use this class to add a C1Editor-related ComboBox to a ToolStrip.
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);
Name | Description |
---|---|
C1EditorToolStripComboBox() |
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. |
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. |