BarManager.CreateToolbar Event
Allows you to customize a bar when it is created.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The CreateToolbar event's data class is CreateToolbarEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Bar | Gets the Bar which has just been created. |
Remarks
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.
See Also