FrameworkElementAutomationPeer.Owner 屬性

定義

取得與此FrameworkElementAutomationPeer相關聯的UIElement擁有者。

public:
 property UIElement ^ Owner { UIElement ^ get(); };
UIElement Owner();
public UIElement Owner { get; }
var uIElement = frameworkElementAutomationPeer.owner;
Public ReadOnly Property Owner As UIElement

屬性值

擁有這個對等類別實例的專案。

備註

如果已刪除擁有者元素,取得這個屬性就會失敗。

適用於