Skip to main content
A newer version of this page is available. .

DefaultLookAndFeel Class

Provides centralized access over look-and-feel settings for all DevExpress controls in the application.

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v17.2.dll

Declaration

[ToolboxTabName("DX.17.2: Components")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "DefaultLookAndFeel")]
public class DefaultLookAndFeel :
    Component

Remarks

The DefaultLookAndFeel component allows you to access the Default LookAndFeel object. It provides look and feel settings used by default by all DevExpress controls in the application. Customizing a single DefaultLookAndFeel component affects the appearance of all controls on all forms. Do not use multiple DefaultLookAndFeel objects in a single application.

The Default LookAndFeel object can be accessed via the DefaultLookAndFeel.LookAndFeel property. To access the Default LookAndFeel object in code, use the UserLookAndFeel.Default property.

A typical DevExpress control provides the LookAndFeel property of the UserLookAndFeel type, containing look and feel settings for this control. By default, the control’s LookAndFeel.UseDefaultLookAndFeel property is set to true, and the control is painted according to the Default LookAndFeel object’s settings.

See Look And Feel to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DefaultLookAndFeel class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also