vcl-dxlayoutlookandfeels.md
A layout look & feel component recommended for appearance configuration at the level of individual layout controls, items, and groups.
TdxLayoutSkinLookAndFeel = class(
TdxLayoutCxLookAndFeel
)
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 TdxLayoutSkinLookAndFeel 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 TdxLayoutSkinLookAndFeel class. These members allow you to configure look & feel settings at the level of individual Layout controls, groups, and items.
DefaultUseSkinOffsetsEnable or disable skin-determined offsets for layout groups, and items for all layout look & feel components in the application. The UseSkinOffsets property allows you to override this setting at the level of an individual layout look & feel component.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. If a skin is applied to the Layout control, UseSkinOffsets and DefaultUseSkinOffsets property values determine if the Offsets property is in effect.UseSkinOffsetsSpecifies if the layout look & feel component applies skin-determined offsets for layout groups, and items instead of corresponding values defined using the Offsets property.
TdxLayoutSkinLookAndFeel component with multiple Layout controls and their groups/items to share settings.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:
The following public API members reference the TdxLayoutSkinLookAndFeel class as 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 TdxLayoutStandardLookAndFeel TdxLayoutCxLookAndFeel TdxLayoutSkinLookAndFeel
See Also