vcl-cxlookandfeels-49fb1a8e.md
Provides access to global (application-wide) look & feel settings at runtime.
function RootLookAndFeel: TcxLookAndFeel;
| Type | Description |
|---|---|
| TcxLookAndFeel |
Stores global look & feel settings for supported controls and application forms.
|
The RootLookAndFeel global function returns a TcxLookAndFeel class instance created at application startup in a project built with DevExpress controls. This class instance stores application-wide (global or root) look & feel settings, such as the active skin, render mode, scrollbar type, etc. Corresponding settings at the level of individual controls have higher priority than global look & feel settings.
Refer to the TcxLookAndFeel class description for detailed information on all look & feel settings accessible through the RootLookAndFeel global function.
Tip
We recommend that you use a TdxSkinController component to manage global look & feel settings in an application. Unlike the RootLookAndFeel function, the TdxSkinController component contains all available global look & feel settings and allows you to change them at design time.
An application project can include multiple TdxSkinController components that share and manage the same global settings accessible through a RootLookAndFeel function call as well as the following global constants and variables:
cxIsTouchModeEnabledDetermines if the Touch Mode is enabled in an application.cxUseSkinsSpecifies if a skin is applied to an application.dxSkinFormCornersSpecifies the shape of form corners used by an application.dxSkinShowFormShadowSpecifies if a skinned application form casts a shadow.
Note
The dxSkinControllersList global variable provides indexed access to all TdxSkinController components in the application.
See Also