Skip to main content

TdxLayoutItemOptions.AutoControlAreaAlignment Property

Specifies the manner in which linked controls are resized within standard layout items.

Declaration

property AutoControlAreaAlignment: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

If this property is set to True, linked controls in standard layout items are resized automatically, so that they will be aligned to an item whose caption is the largest (widest or tallest, depending on the item’s caption layout) in the layout content. Resizing is performed either horizontally or vertically (depending on the caption layout) and only for the following items:

  • Items with assigned captions;

  • Items with the matching caption layout;

  • Items with the matching item position (i.e. only those items whose relevant edges are lined up);

  • Items whose alignment settings and alignment constraints correspond to the item’s caption layout.

If the AutoControlAreaAlignment property is set to False, each control is resized individually, based on its item caption. You can override the layout control’s OptionsItem.AutoControlAreaAlignment property value for individual items via an item’s ControlOptions.AutoControlAreaAlignment property setting. To customize the manner in which linked controls are sized within individual layout groups, use a group’s ItemControlAreaAlignment property.

Note

The AutoControlAreaAlignment property is in effect only for standard layout items.

The default value of the AutoControlAreaAlignment property is True.

See Also