Back to Devexpress

TcxCustomLookAndFeelController Class

vcl-cxlookandfeels-457ec4a6.md

latest4.8 KB
Original Source

TcxCustomLookAndFeelController Class

The base class for the TdxSkinController component.

Declaration

delphi
TcxCustomLookAndFeelController = class(
    TcxCustomComponent,
    IcxDesignLookAndFeelNotifier
)

Remarks

A skin controller is a non-visual component designed to configure look & feel settings common to all DevExpress controls and to apply skins to both forms and DevExpress controls at runtime.

If you do not need to switch between skins and palettes at runtime, you can use the design-time Project Settings dialog to select the required skin and palette application-wide.

Note

You can override global look & feel settings at the level of individual controls.

Refer to corresponding control descriptions and the following topic for detailed information: Global Application Settings.

Main API Members

The list below outlines key members of the TcxCustomLookAndFeelController class. These members allow you to manage the application’s global look & feel settings and switch between skins and color palettes.

Skin and Color Palette-Related API Members

NativeStyleSpecifies if DevExpress controls and application forms use operating system-dependent draw routines to render all UI elements. If this option is enabled, all skin and color palette settings have no effect.SkinName | SkinPaletteNameSpecify skin and color palette applied to the application if the NativeStyle property is set to False. Only vector skins can switch between color palettes.UseSkins | UseSkinsInPopupMenusSpecify if the selected skin affects controls, forms, and pop-up menus.UseImageSetSpecifies the active skin element rendering mode for bitmap-based skins.

Miscellaneous Look & Feel Settings

FormCornersAllows you to switch between corner shapes for skinned application forms.RenderMode

Specifies the active render mode at the application level.

Note

This property affects only those DevExpress controls that support multiple render modes.

ScrollMode | ScrollbarModeAllow you to switch between supported scrollbar types and scrolling modes for all controls that support them.ShowFormShadowSpecifies if skinned application forms cast a shadow.TouchModeSpecifies if Touch Mode is enabled.

General-Purpose API Members

BeginUpdate | EndUpdateAllow you to avoid excessive redraw operations during batch global look & feel setting changes.ResetRestores default global look & feel settings.

Terminal TcxCustomLookAndFeelController Class Descendant

Do not use the TcxCustomLookAndFeelController class directly. Use the TdxSkinController component instead.

Inheritance

TObject TPersistent TComponent TcxCustomComponent TcxCustomLookAndFeelController

See Also

Global Application Settings

TdxLayoutSkinLookAndFeel Class

TcxLookAndFeel Class

TcxCustomLookAndFeelController Members

cxLookAndFeels Unit