[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Collapse]Common Features
  [Expand]Data Binding Common Concepts
  [Expand]Data Source Wizard
  [Expand]Expressions
  [Expand]Behaviors
  [Collapse]Application Appearance and Skin Colors
    Default Application Font
    Appearances
   [Collapse]Look and Feel
     How to: Customize Look And Feel of Specific Control(s)
     How to: Customize Look And Feel of All Controls within Form
     How to: Customize Look And Feel of All Controls within Application
    Glyph Skinning
  [Expand]Filtering UI Context
   Find Panel Syntax
  [Expand]Graphics Performance and High DPI
  [Expand]Scaffolding Wizard
  [Expand]Formatting Values
   HTML-inspired Text Formatting
  [Expand]Menus
  [Expand]Tooltip Management
  [Expand]Save and Restore Layouts
   Clipboard - Copy and Paste Operations. Data Formatting
   Version Compatibility: Default Property Values
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

How to: Customize Look And Feel of All Controls within Form

You can use the settings the XtraForm.LookAndFeel object provides to customize the default look-and-feel settings of all DevExpress controls in an XtraForm (or its descendant). To enable these settings, set the form's LookAndFeel.UseDefaultLookAndFeel option to false. Otherwise, the Default LookAndFeel object specifies the look-and-feel of the form and its controls.

Tip

If you use a regular System.Windows.Forms.Form, convert it to a DevExpress form or use the StyleController component to manage the look-and-feel settings of this forms' controls.

DevExpress controls can override the default look-and-feel settings (those that the XtraForm or DefaultLookAndFeel object specifies):

  • Set the control's LookAndFeel.UseDefaultLookAndFeel property to false.

  • Use the control's LookAndFeel property to specify these settings.

Expanded Example

The following code sets the "Office 2013 White" skin as the default style for all the controls on an XtraForm, except for the SimpleButton control, which is rendered using the "DevExpress Dark Style" skin: The UserLookAndFeel.SetSkinStyle method called in the example automatically disables the UserLookAndFeel.UseDefaultLookAndFeel setting.

Expanded See Also

Is this topic helpful?​​​​​​​