Back to Devexpress

TdxCustomLayoutLookAndFeel Class

vcl-dxlayoutlookandfeels-77153aa8.md

latest5.9 KB
Original Source

TdxCustomLayoutLookAndFeel Class

The base class for layout look & feel components.

Declaration

delphi
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 | 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.

General-Purpose API Members

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.

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.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.

Inheritance

TObject TPersistent TComponent TcxCustomComponent TcxComponent TcxScalableComponent TdxCustomLayoutLookAndFeel

See Also

TdxCustomLayoutLookAndFeel Members

dxLayoutLookAndFeels Unit