Skip to main content

TcxCustomListView.Arrange(TListArrangement) Method

Arranges the icons in a list view.

Declaration

procedure Arrange(Code: TListArrangement);

Parameters

Name Type
Code TListArrangement

Remarks

The Arrange method arranges the icons within the list view. This method is in effect only when the ViewStyle is vslcon or vsSmallIcon.

The Code parameter specifies the arrangement style:

Value Meaning
arAlignBottom Aligns items along the bottom edge of the list view.
arAlignLeft Aligns items along the left edge of the list view.
arAlignRight Aligns items along the right edge of the list view.
arAlignTop Aligns items along the top edge of the lit view.
arDefault Aligns items according to the style associated with the list view when the list view was created.
arSnapToGrid Snaps all icons to the nearest grid position. This value is not supported if the application is running in virtual mode.
See Also