How to change the look and feel of all Devexpress controls

Add DefaultLookAndFeel control to your main form
Drag the DefaultLookAndFeel control under the Components tab in the Visual Studio's Toolbox to the design view of your dot net application's main form. 


Choose the DefaultLookAndFeel control in the tab under your form's design view and open it's properties window (left-click and then press F4).

In the properties window of your DefaultLookAndFeel control, locate the LookAndFeel property. Click the plus button near it to uncover the hidden properties. Locate the following properties:
  • SkinName: choose a Skin name that match your style.
  • Style: set to Skin
  • UseDefaultLookAndFeel: set to True
  • UseWindowsXPTheme: set to False
Modify the UseDefaultLookAndFeel properties of all Devexpress controls
Now if you want all your Devexpress control to have the same look and feel settings as defined in the above step, you will need to set the UseDefaultLookAndFeel properties of these controls to True. And UseWindowsXPTheme properties of these controls to False.

For example, I have another Xtra form. I will open its properties window by left-clicking the form and pressing F4. In its properties window, I will locate the LookAndFeel property. Press the plus button, locate the UseDefaultLookAndFeel and UseWindowsXPTheme properties and then set these properties to True and False respectively. Press the plus button, locate he UseDefaultLookAndFeel and UseWindowsXPTheme properties and then set these properties to True and False respectively. 



No comments:

Post a Comment

Blog Archive

About Me

My photo
I am a software developer with roughly 5 years of experience in developing end-to-end solutions in C#, Java, C/C++, PHP and HTML/CSS/Javascript. At the moment, I am joining the Professional Doctorate in Engineering degree program in Software Technology at Eindhoven University of Technology. My areas of particular interest include software design, data structures and algorithms, problem solving, software security, embedded system, machine learning, and data science.