vcl-dxlayoutlookandfeels-77153aa8.md
The base class for layout look & feel components.
TdxCustomLayoutLookAndFeel = class(
TcxScalableComponent
)
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.).
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.
GroupOptions | ItemOptionsProvide 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).
OffsetsSpecifies offsets for layout groups and items.
Assign | AssignToCopy compatible settings between layout look & feel components.ListProvides access to the parent layout look & feel manager component.NameSpecifies the layout look & feel component name.
Use the TdxLayoutLookAndFeelList component to manage layout look & feel components. Call the TdxLayoutLookAndFeelList.CreateItem function or use the Designer dialog available at design time.
Double-click a TdxLayoutLookAndFeelList component to display a design-time dialog:
Do not use the TdxCustomLayoutLookAndFeel class directly. Use the TdxLayoutSkinLookAndFeel component instead.
The following public API members reference a TdxCustomLayoutLookAndFeel object:
TdxCustomLayoutItem.LayoutLookAndFeelAssociates the layout group or item with a dedicated look & feel storage component.TdxCustomLayoutControl.LayoutLookAndFeelAssociates the Layout control with a dedicated look & feel storage component.TdxLayoutLookAndFeelList.CreateItemCreates a new layout look & feel component of the specified type.TdxLayoutLookAndFeelList.ItemsProvides indexed access to created layout look & feel components.TdxCustomLayoutLookAndFeelClassA reference to a layout look & feel component class.
TObject TPersistent TComponent TcxCustomComponent TcxComponent TcxScalableComponent TdxCustomLayoutLookAndFeel
See Also