Sdílet prostřednictvím


FrameworkElementAutomationPeer.Owner Property

Definition

Gets the UIElement owner that is associated with this FrameworkElementAutomationPeer.

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

Property Value

The element that owns this instance of the peer class.

Remarks

If the owner element has been deleted, getting this property fails.

Applies to