ListView.Controls 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ControlCollection 컨트롤의 자식 컨트롤을 나타내는 ListView 개체를 가져옵니다.
public:
virtual property System::Web::UI::ControlCollection ^ Controls { System::Web::UI::ControlCollection ^ get(); };
public override System.Web.UI.ControlCollection Controls { get; }
member this.Controls : System.Web.UI.ControlCollection
Public Overrides ReadOnly Property Controls As ControlCollection
속성 값
ListView 컨트롤의 자식 컨트롤 컬렉션입니다.
설명
속성은 Controls 기본 구현을 재정의합니다. 이렇게 하면 속성이 개체를 반환하기 전에 모든 자식 컨트롤이 ControlCollection 생성됩니다.
속성을 Controls 사용하면 컨트롤에 대한 ListView 클래스의 인스턴스에 ControlCollection 프로그래밍 방식으로 액세스할 수 있습니다. 컬렉션에 컨트롤을 추가 하, 컬렉션에서 컨트롤을 제거 하거나 컬렉션에 있는 서버 컨트롤을 반복할 수 있습니다.
컨트롤의 특정 자식 컨트롤에 ListView 액세스하려면 메서드를 FindControl 사용할 수 있습니다.