Skip to main content

TdxCustomLayoutItem.AlignmentConstraint Property

Specifies alignment constraints for an item/group.

Declaration

property AlignmentConstraint: TdxLayoutAlignmentConstraint read; write;

Property Value

Type
TdxLayoutAlignmentConstraint

Remarks

An alignment constraint is designed to align several items/groups in the same manner. In order to create a new alignment constraint at design time, select several items/groups within the Customization Form, press the “Align By…” button, and select the appropriate alignment constraint from the dropdown list. You may use the CreateAlignmentConstraint method to create an alignment constraint at runtime.

Every alignment constraint is represented by a TdxLayoutAlignmentConstraint object instance and you can select a specific alignment constraint via the Index parameter.

See Also