System.Windows.Forms.ListView.Alignment Property

Gets or sets the alignment of items in the control.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(System.Windows.Forms.ListViewAlignment.Top)]
public ListViewAlignment Alignment { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ListView.Alignment property only affects alignment when the ListView.View property is set to View.LargeIcon or View.SmallIcon.

Note:

This property has no effect with the ListView.View property is set to View.List.

Requirements

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