TcxLookAndFeel Class
Stores appearance settings of a DevExpress control.
Declaration
TcxLookAndFeel = class(
TcxInterfacedPersistent,
IcxLookAndFeelNotificationListener,
IcxLookAndFeelNotificationListener2
)
Remarks
Look & feel settings arrange into at least three levels of hierarchy to determine the appearance of all DevExpress controls in an application:
The level of an individual control accessible via the control’s LookAndFeel property. The control imports a look & feel setting from a global or parent level via the MasterLookAndFeel property if the AssignedValues property does not include the corresponding flag.
The optional level of a parent control accessible via the parent control’s LookAndFeel property. This control imports a look & feel setting from the global or another parent level via the MasterLookAndFeel property if the AssignedValues property does not include the corresponding flag. If the parent control is destroyed, the look & feel property set imports its default settings from the global level.
The global level accessible via the RootLookAndFeel global function, look & feel, or skin controller component.
The level of global constants whose values determine the default look & feel settings (cxDefaultLookAndFeelKind, cxDefaultLookAndFeelNativeStyle, cxDefaultLookAndFeelSkinName, cxDefaultIsTouchScrollUIModeEnabled, cxDefaultLookAndFeelRenderMode, cxDefaultLookAndFeelScrollMode).
The TcxLookAndFeel class has the following members that allow you to:
Disable or enable the Windows native look & feel style (NativeStyle).
Switch between basic look & feel styles (Kind).
Select the active skin (SkinName).
Switch between classic and smooth scroll modes (ScrollMode).
Speed up performance in case of batch look & feel setting changes (BeginUpdate and EndUpdate).
Switch between available render modes (RenderMode).
Track changes made to look & feel settings (OnChanged).
Switch between classic, touch-friendly and hybrid scrollbars (ScrollbarMode).
Specify the source of default look & feel settings at the current hierarchy level (MasterLookAndFeel).
Access the active look & feel painter (Painter).
Specify if individual look & feel settings are enabled at the current level or reset them (AssignedValues and Reset).
The following public API members reference a TcxLookAndFeel object:
The TcxControl.LookAndFeel property.
The MasterLookAndFeel property.
The TdxVCLControl.LookAndFeel property.
The RootLookAndFeel global function.