Back to Devexpress

TcxLookAndFeel Class

vcl-cxlookandfeels.md

latest4.1 KB
Original Source

TcxLookAndFeel Class

Stores general appearance settings of a DevExpress control.

Declaration

delphi
TcxLookAndFeel = class(
    TcxInterfacedPersistent,
    IcxLookAndFeelNotificationListener,
    IcxLookAndFeelNotificationListener2
)

Remarks

The TcxLookAndFeel class implements look & feel settings that allow you to redefine the appearance of an individual DevExpress control.

Tip

We recommend that you use the Project Settings dialog or a TdxSkinController component to define application-wide look & feel settings for all DevExpress controls and forms and ensure a consistent appearance.

Main API Members

The list below outlines key members of the TcxLookAndFeel class. These members allow you to manage look & feel settings and switch between skins. Look & feel settings of individual DevExpress controls have higher priority than corresponding global look & feel settings.

Skin-Related API Members

SkinNameSpecifies the name of the active skin if the native style is disabled.NativeStyleSpecifies if the control uses operating system-dependent draw routines to render all UI elements. If this option is enabled, all skin and color palette settings have no effect.

Miscellaneous Look & Feel Settings

RenderMode

Specifies the render mode at the level of an individual control.

Note

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

ScrollMode | ScrollbarModeAllow you to switch between all scrollbar types and scroll modes for an individual DevExpress control that supports them.

General-Purpose API Members

AssignCopies look & feel settings between skin controller components.AssignedValuesSpecifies what look & feel settings at the level of an individual control override corresponding parent or global settings.BeginUpdate | EndUpdateAllow you to avoid excessive redraw operations during batch look & feel setting changes.MasterLookAndFeelAllows you to change the source of default look & feel settings for a control.ResetRemoves all look & feel modification flags and applies corresponding global look & feel settings to the affected control.

Direct TcxLookAndFeel Class References

The following public API members reference a TcxLookAndFeel object:

TcxControl.LookAndFeelProvides access to the control’s look & feel settings.RootLookAndFeelProvides access to global (application-wide) look & feel settings at runtime.

Implements

IcxLookAndFeelNotificationListener

IcxLookAndFeelNotificationListener2

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxLookAndFeel

See Also

TdxSkinController Class

TcxLookAndFeel Members

cxLookAndFeels Unit