ListView::Alignment Property
.NET Framework (current version)
Gets or sets the alignment of items in the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property ListViewAlignment Alignment { ListViewAlignment get(); void set(ListViewAlignment value); }
Property Value
Type: System.Windows.Forms::ListViewAlignmentOne of the ListViewAlignment values. The default is Top.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The value specified is not one of the ListViewAlignment values. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
