Back to Devexpress

TdxCustomLayoutControl.UseGlobalSkin Property

vcl-dxlayoutcontrol-dot-tdxcustomlayoutcontrol-9bbe8315.md

latest3.0 KB
Original Source

TdxCustomLayoutControl.UseGlobalSkin Property

Specifies if the Layout control automatically updates appearance from the skin and palette defined application-wide.

Declaration

delphi
property UseGlobalSkin: TdxDefaultBoolean read; write; default bDefault;

Property Value

TypeDefaultDescription
TdxDefaultBooleanbDefaultbDefaultThe TdxCustomLayoutControl.DefaultUseGlobalSkin class property specifies if the Layout control automatically imports global skin and palette settings and uses them instead of corresponding settings accessible through the LayoutLookAndFeel property.bTrue

The Layout control automatically imports skin and palette settings defined using a TdxSkinController component or the Project Settings dialog.

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

bFalse

The LayoutLookAndFeel property defines individual appearance settings for the Layout control. Corresponding appearance settings defined using a TdxSkinController component or the Project Settings dialog have no effect.

This option is useful if you need to apply a different skin and palette to the Layout control.

|

Remarks

Set the UseGlobalSkin property to bTrue or bFalse to explicitly enable or disable Layout control synchronization with global skin and palette settings.

Default Value

The UseGlobalSkin property’s default value is bDefault.

The default UseGlobalSkin property value indicates that the TdxCustomLayoutControl.DefaultUseGlobalSkin class property specifies if the Layout control automatically imports skin and palette settings defined application-wide.

See Also

cxDefaultUseGlobalSkin Global Constant

TdxCustomLayoutControl Class

TdxCustomLayoutControl Members

dxLayoutControl Unit