TdxCustomLayoutLookAndFeel Class
The base class for layout look & feel components.
Declaration
TdxCustomLayoutLookAndFeel = class(
TcxScalableComponent
)
Remarks
A Layout control can have individual look & feel settings or automatically synchronize (recommended) with the skin and palette defined using a TdxSkinController component or the Project Settings dialog.
A layout look & feel component allows you to specify individual appearance settings for different Layout controls and their groups/items. In addition to general look & feel settings that correspond to global skin and native style options, TdxLayoutSkinLookAndFeel
also has appearance settings specific to layout groups and items (offsets, paddings, caption fonts, etc.).
Main API Members
The list below outlines key members of the TdxCustomLayoutLookAndFeel
class. These members allow you to configure look & feel settings at the level of individual Layout controls, groups, and items.
Appearance Settings
- GroupOptions | ItemOptions
- Provide access to layout group and item-specific settings.
- LookAndFeel
Provides access to look & feel settings (skin name and native style, for example) defined in the layout look & feel component.
Note
If you use the LookAndFeel.SkinName property to select a vector skin at the level of a Layout control, group, or item, the selected skin uses the color palette defined at the global level (TdxSkinController.SkinPaletteName).
- Offsets
- Specifies offsets for layout groups and items.
General-Purpose API Members
- Assign | AssignTo
- Copy compatible settings between layout look & feel components.
- List
- Provides access to the parent layout look & feel manager component.
- Name
- Specifies the layout look & feel component name.
Layout Look & Feel Component Manager
Use the TdxLayoutLookAndFeelList component to manage layout look & feel components. Call the TdxLayoutLookAndFeelList.CreateItem function or use the Designer dialog available at design time.
Design-Time Dialog
Double-click a TdxLayoutLookAndFeelList component to display a design-time dialog:
Terminal TdxCustomLayoutLookAndFeel Class Descendants
Do not use the TdxCustomLayoutLookAndFeel
class directly. Use the TdxLayoutSkinLookAndFeel component instead.
Direct TdxCustomLayoutLookAndFeel Class References
The following public API members reference a TdxCustomLayoutLookAndFeel
object:
- TdxCustomLayoutItem.LayoutLookAndFeel
- Associates the layout group or item with a dedicated look & feel storage component.
- TdxCustomLayoutControl.LayoutLookAndFeel
- Associates the Layout control with a dedicated look & feel storage component.
- TdxLayoutLookAndFeelList.CreateItem
- Creates a new layout look & feel component of the specified type.
- TdxLayoutLookAndFeelList.Items
- Provides indexed access to created layout look & feel components.
- TdxCustomLayoutLookAndFeelClass
- A reference to a layout look & feel component class.