ListView.Alignment 属性

定义

获取或设置控件中项的对齐方式。

public:
 property System::Windows::Forms::ListViewAlignment Alignment { System::Windows::Forms::ListViewAlignment get(); void set(System::Windows::Forms::ListViewAlignment value); };
public System.Windows.Forms.ListViewAlignment Alignment { get; set; }
member this.Alignment : System.Windows.Forms.ListViewAlignment with get, set
Public Property Alignment As ListViewAlignment

属性值

ListViewAlignment

ListViewAlignment 值之一。 默认值为 Top

例外

指定的值不是 ListViewAlignment 值之一。

注解

Alignment属性View设置为LargeIcon或 .SmallIcon

备注

此属性对属性的设置为List无效View

适用于

另请参阅