Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomLayoutItem.AlignmentConstraint Property

Specifies alignment constraints for an item/group.

#Declaration

Delphi
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