TcxLookAndFeel Class
Stores general appearance settings of a DevExpress control.
Declaration
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 a TdxSkinController component to define look & feel settings for all DevExpress controls and forms in an application to ensure its 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
- SkinName
- Specifies the name of the active skin if the native style is disabled.
- NativeStyle
- Specifies 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 | ScrollbarMode
- Allow you to switch between all scrollbar types and scroll modes for an individual DevExpress control that supports them.
General-Purpose API Members
- Assign
- Copies look & feel settings between skin controller components.
- AssignedValues
- Specifies what look & feel settings at the level of an individual control override corresponding parent or global settings.
- BeginUpdate | EndUpdate
- Allow you to avoid excessive redraw operations during batch look & feel setting changes.
- MasterLookAndFeel
- Allows you to change the source of default look & feel settings for a control.
- Reset
- Removes 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.LookAndFeel
- Provides access to the control’s look & feel settings.
- RootLookAndFeel
- Provides access to global (application-wide) look & feel settings at runtime.