[]
Adds a combo box to the toolstrip.
protected C1EditorToolStripComboBox AddComboBox(CommandComboBox command)
Type | Name | Description |
---|---|---|
CommandComboBox | command | The command assigned to the button. |
Type | Description |
---|---|
C1EditorToolStripComboBox | The new combo box. |
The AddComboBox method allows inheritors to add a button of the
The following code example demonstrates how to create a custom toolstrip that has Style combo box and Undo, Redo buttons.
public class MyToolStrip : C1EditorToolStripBase
{
protected override void OnInitialize()
{
AddComboBox(CommandComboBox.Style);
AddButton(CommandButton.Undo);
AddButton(CommandButton.Redo);
}
}