FrameworkElement.GetUIParentCore 메서드

정의

시각적 부모가 없는 경우 이 요소에 대한 대체 논리 부모를 반환합니다.

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

반환

DependencyObject

이 메서드의 WPF 프레임워크 수준 구현에 시각적 부모가 아닌 연결이 있을 때마다 null 이외의 값을 반환합니다.

설명

이 메서드는 UIElement.GetUIParentCore를 재정의합니다. 기본 FrameworkElement 구현은 값을 가져오는 Parent 것과 동일한 결과인 예상되는 단일 시각적 부모를 반환합니다. 파생 클래스 구현은 대체 부모 관계를 반환할 수 있습니다.

적용 대상

추가 정보