Allows you to customize a bar when it is created.
[DXCategory("Events")] public event CreateToolbarEventHandler CreateToolbar
<DXCategory("Events")> Public Event CreateToolbar As CreateToolbarEventHandler
The CreateToolbar event's data class is CreateToolbarEventArgs. The following properties provide information specific to this event:
|Bar||Gets the Bar which has just been created.|
The CreateToolbar event allows you to customize a bar right after it has been created. For instance, you could make all new bars dock to the left edge of a container (form), etc.
The bar being created is passed as the event’s CreateToolbarEventArgs.Bar parameter.