AdornerLayer.GetAdornerLayer(Visual) 메서드

정의

지정된 위의 시각적 트리에서 첫 번째 표시기 레이어를 반환합니다 Visual.

public:
 static System::Windows::Documents::AdornerLayer ^ GetAdornerLayer(System::Windows::Media::Visual ^ visual);
public static System.Windows.Documents.AdornerLayer GetAdornerLayer(System.Windows.Media.Visual visual);
static member GetAdornerLayer : System.Windows.Media.Visual -> System.Windows.Documents.AdornerLayer
Public Shared Function GetAdornerLayer (visual As Visual) As AdornerLayer

매개 변수

visual
Visual

표시기 레이어를 찾을 시각적 요소입니다.

반품

지정된 시각적 개체의 표시기 레이어이거나, 표시기 레이어를 찾을 수 없는 경우 null 입니다.

예외

시각적 개체null일 때 발생합니다.

설명

static 메서드는 지정된 Visual 위치에서 시작하는 시각적 트리를 트래버스하고 찾은 첫 번째 표시기 계층을 반환합니다.

적용 대상