Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to: Change the paint style

The following code shows how to change the paint style for the docking controller employed by the BarManager. If no BarAndDocking controller is assigned to the BarManager, then this code will change the default BarAndDocking controller. Otherwise, the code will change the assigned controller. This code will affect the appearance of all the bars and dock windows which use the same BarAndDocking controller (not only the bars and dock windows that belong to barManager1).

barManager1.GetController().PaintStyleName = "Office2003";