UIElement.GetUIParentCore 메서드

정의

파생 클래스에서 재정의되는 경우 시각적 부모가 없는 경우 이 요소에 대한 대체 UI(사용자 인터페이스) 부모를 반환합니다.

protected public:
 virtual System::Windows::DependencyObject ^ GetUIParentCore();
protected internal virtual System.Windows.DependencyObject GetUIParentCore ();
abstract member GetUIParentCore : unit -> System.Windows.DependencyObject
override this.GetUIParentCore : unit -> System.Windows.DependencyObject
Protected Friend Overridable Function GetUIParentCore () As DependencyObject

반환

DependencyObject

파생 클래스 구현에 보고할 다른 부모 연결이 있는 경우의 개체입니다.

설명

이 메서드의 기본 가상 구현은 .null FrameworkElement 는 실제 구현을 제공합니다.

대체 부모는 요소가 시각적 트리를 표준 부모로 라우팅하거나 미리 보기 라우팅 전략에서 아래쪽으로 라우팅하는 표준 패턴과 다른 방식으로 이벤트가 라우팅되도록 대체 부모 구조를 만드는 경우 이벤트 라우팅에 사용됩니다.

적용 대상