System.Windows.Forms.ListView.ArrangeIcons Method

Arranges items in the control when they are displayed as icons based on the value of the ListView.Alignment property.

Syntax

public void ArrangeIcons ()

Remarks

The ListView.ArrangeIcons(ListViewAlignment) method is only useful when the ListView.View property is set to View.LargeIcon or View.SmallIcon. Calling this version of the ListView.ArrangeIcons(ListViewAlignment) method arranges the items based on the value of the ListView.Alignment property. To cause the items to be aligned based on a value that differs from that of the ListView.Alignment property, use the other version of the ListView.ArrangeIcons(ListViewAlignment) method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0