[]
Adds default items to the toolstrip.
protected virtual void OnInitialize()
Protected Overridable Sub OnInitialize()
The OnInitialize method allows derived classes to define their own set of default items.
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);
}
}