NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListView.ArrangeIcons (ListViewAlignment)

In Large Icon or Small Icon view, arranges the items according to one of the following behaviors:

[Visual Basic]
Overloads Public Sub ArrangeIcons( _
   ByVal value As ListViewAlignment _
)
[C#]
public void ArrangeIcons(
   ListViewAlignment value
);
[C++]
public: void ArrangeIcons(
   ListViewAlignment value
);
[JScript]
public function ArrangeIcons(
   value : ListViewAlignment
);

Parameters

value
Arrangement behavior. May be: LVA_DEFAULT Aligns items according to the ListView's current alignment style LVA_ALIGNLEFT Aligns items along the left edge of the window LVA_ALIGNTOP Aligns items along the top edge of the window LVA_SNAPTOGRID Snaps all icons to the nearest grid position

Exceptions

Exception Type Condition
ArgumentException thrown if flag is not one of the supported Icon Arrangement styles.

See Also

ListView Class | ListView Members | System.WinForms Namespace | ListView.ArrangeIcons Overload List