Skip to main content
All docs
V25.1
  • 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

    const cxDefaultUseGlobalSkin: Boolean = cxDefaultUseGlobalSkinValue;

    Returns

    Type Description
    Boolean
    False

    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:

    VCL Shared Libraries: The Global Skin Usage Installer Option

    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.1, the cxDefaultUseGlobalSkin constant affects interpretation of the following DefaultUseGlobalSkin class properties:

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