Click or drag to resize

ListView.Arrange Method (Typed)

X#
Align list view items while in icon view.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Arrange(
	kAlignment AS LONG
) AS USUAL
Request Example View Source

Parameters

kAlignment
Type: Long
One of the following constants describing how to align the list view items:

Return Value

Type: Usual
TRUE if the item was arranged successfully; otherwise, FALSE.
Remarks
ConstantDescription
LVA_ALIGNLEFTAligns items along the left edge of the window.
LVA_ALIGNTOPAligns items along the top edge of the window.
LVA_DEFAULTAligns items according to the list view's current alignment styles (the default setting).
LVA_SNAPTOGRIDItems are snapped to the nearest grid position.
See Also