다음을 통해 공유


ListView.AutoArrange 속성

아이콘의 자동 정렬 여부를 가져오거나 설정합니다.

네임스페이스: System.Windows.Forms
어셈블리: System.Windows.Forms(system.windows.forms.dll)

구문

‘선언
Public Property AutoArrange As Boolean
‘사용 방법
Dim instance As ListView
Dim value As Boolean

value = instance.AutoArrange

instance.AutoArrange = value
public bool AutoArrange { get; set; }
public:
property bool AutoArrange {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AutoArrange ()

/** @property */
public void set_AutoArrange (boolean value)
public function get AutoArrange () : boolean

public function set AutoArrange (value : boolean)

속성 값

아이콘이 자동으로 정렬되어 모눈에 맞춰지면 true이고, 그렇지 않으면 false입니다. 기본값은 true입니다.

설명

View 속성이 LargeIcon이나 SmallIcon으로 설정된 경우에만 AutoArrange 속성으로 ListView 컨트롤에 있는 항목을 정렬할 수 있습니다. ListView 컨트롤에 있는 항목의 정렬을 변경하려면 Alignment 속성을 사용합니다. AutoArrange를 사용하면 런타임에 ListView 컨트롤에 있는 모든 항목이 자동으로 정렬되어 겹쳐지지 않게 할 수 있습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

ListView 클래스
ListView 멤버
System.Windows.Forms 네임스페이스
ListView.Alignment 속성