Back to Devexpress

cxDefaultUseGlobalSkin Constant

vcl-cxlookandfeels-9fb0aee8.md

latest4.6 KB
Original Source

cxDefaultUseGlobalSkin Constant

Specifies if controls with global skin synchronization flags and separate look & feel options automatically update their appearance from application-wide skin and palette settings.

Declaration

delphi
const cxDefaultUseGlobalSkin: Boolean = cxDefaultUseGlobalSkinValue;

Returns

TypeDescription
BooleanFalse

The bDefault value of a global skin synchronization flag is treated as bFalse.

This option can be useful if you need to apply different skins and palettes to individual controls.

True

The bDefault value of a global skin synchronization flag is treated as bTrue.

This option is useful if you need to ensure visual consistency of your application.

|

Remarks

The cxDefaultUseGlobalSkin constant affects interpretation of global skin synchronization flags in DevExpress controls.

Note

If you change the cxDefaultUseGlobalSkin constant value at runtime, call the RootLookAndFeel.Refresh procedure to update global look & feel settings and redraw all affected controls.

The cxDefaultUseGlobalSkin constant value is True if the following option is checked in the DevExpress component installer:

Otherwise, the cxDefaultUseGlobalSkin constant value is False.

Controls with Global Skin Synchronization Flags

The cxDefaultUseGlobalSkin constant specifies if all affected controls update their appearance from global skin and palette settings only when corresponding DefaultUseGlobalSkin class properties are set to bDefault. The cxDefaultUseGlobalSkin constant value does not affect any instance of the control if its DefaultUseGlobalSkin class property is set to bTrue or bFalse.

DefaultUseGlobalSkin Class Properties in DevExpress Controls

In v25.2, the cxDefaultUseGlobalSkin constant affects interpretation of the following DefaultUseGlobalSkin class properties:

TdxBarManager.DefaultUseGlobalSkinSpecifies if all Bar Manager components in the application automatically update their appearance from application-wide skin and palette settings.TdxCustomRibbon.DefaultUseGlobalSkinSpecifies if all Ribbon controls in the application automatically update their appearance from application-wide skin and palette settings.TdxCustomStatusBar.DefaultUseGlobalSkinSpecifies if all status bar controls in the application automatically update their appearance from application-wide skin and palette settings.TdxCustomLayoutControl.DefaultUseGlobalSkinSpecifies if all Layout controls in the application automatically update their appearance from application-wide skin and palette settings.TdxCustomNavBar.DefaultUseGlobalSkinSpecifies if all Navigation Bar controls in the application automatically update their appearance from application-wide skin and palette settings. See Also

RootLookAndFeel Global Function

cxDefaultLookAndFeelNativeStyle Global Constant

cxDefaultUseSkins Global Constant

cxLookAndFeels Unit