ListView.AutoArrange 屬性

定義

取得或設定是否自動將圖示保持為已管理。

public:
 property bool AutoArrange { bool get(); void set(bool value); };
public bool AutoArrange { get; set; }
member this.AutoArrange : bool with get, set
Public Property AutoArrange As Boolean

屬性值

如果自動將圖示保持為已管理並且貼齊格線,則為 true,否則為 false。 預設為 true

備註

當 屬性設定為 LargeIconSmallIcon 時, View 屬性 AutoArrange 只會排列 控制項中的 ListView 專案。 若要變更 控制項中 ListView 專案的對齊方式,請使用 Alignment 屬性。 您可以使用 AutoArrange 來確保控制項中的所有 ListView 專案都會自動排文,以避免在執行時間重迭。

適用於

另請參閱