Look and Feel
- 2 minutes to read
The Layout Control as with all DevExpress .NET controls supports the Look And Feel technology. The look and feel determines the control’s painting scheme and so determines how the control’s group headers, scrollbars, borders, buttons and background area are painted. The following collage shows the different look and feels of the Layout Control.
To change the layout control’s look and feel use the LayoutControl.LookAndFeel property. This allows you to choose a painting scheme (Skin, WindowsXP, Flat, etc) or specify whether the control’s look and feel needs to be handled by the DefaultLookAndFeel Controller component.
The Layout Control can contain DevExpress WinForms controls that support the look and feel mechanism. The look and feel settings of these controls are determined by the Layout Control by default. For instance, if a ButtonEdit editor resides within the layout control, changing the LayoutControl.LookAndFeel property will change the look and feel of this editor. To prevent the Layout Control’s look and feel settings from being applied to its child controls set the OptionsView.ShareLookAndFeelWithChildren property to false. In this instance, the look and feel settings can and must be set up for each control separately.