Decorator.GetVisualChild(Int32) 메서드

정의

지정한 index 위치에 있는 자식 Visual 요소를 가져옵니다.

protected:
 override System::Windows::Media::Visual ^ GetVisualChild(int index);
protected override System.Windows.Media.Visual GetVisualChild (int index);
override this.GetVisualChild : int -> System.Windows.Media.Visual
Protected Overrides Function GetVisualChild (index As Integer) As Visual

매개 변수

index
Int32

자식 요소의 인덱스 위치입니다.

반환

Visual

지정한 index 위치에 있는 자식 요소입니다.

예외

index가 표시 자식 요소 수보다 큰 경우

설명

때문에 Child 0 또는 1과와 같을 수를 지정 하는 index 0 보다 작거나 1 보다 큰 위치는 ArgumentOutOfRangeException.

적용 대상