Repeater.Controls 속성

정의

ControlCollection 컨트롤의 자식 컨트롤이 들어 있는 Repeater을 가져옵니다.

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

속성 값

ControlCollection

ControlCollection 컨트롤의 자식 컨트롤이 들어 있는 Repeater입니다.

설명

Controls 컬렉션을 사용하여 컨트롤의 자식 컨트롤을 Repeater 관리합니다. 일반적으로 컬렉션에서 자식 컨트롤을 검색하는 데 사용됩니다. 컬렉션에서 자식 컨트롤을 추가하고 제거할 수도 있습니다.

참고

컨트롤 내의 자식 컨트롤에 Repeater 액세스하려면 컨트롤의 Items 컬렉션을 반복 Repeater 하여 지정된 인덱스의 RepeaterItem 검색을 수행합니다. 그런 다음 , Repeater 항목의 상속된 FindControl 메서드를 호출하여 특정 ID가 있는 컨트롤을 검색합니다.

적용 대상

추가 정보