FrameworkContentElement.GetUIParentCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若無視覺父節點,則回傳該元素的替代邏輯父節點。 在這種情況下, FrameworkContentElement 父節點的值永遠與該 Parent 屬性相同。
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
傳回
當WPF框架層級實作有非視覺父連線時,會回傳非 null。
備註
預設實作會回傳預期的單一視覺父。 自訂實作可能會回傳替代父關係。