Element.ParentView Element.ParentView Property

Definition

Warning

This API is now obsolete.

Gets the element which is the closest ancestor of this element that is a VisualElement.

[System.Obsolete("ParentView is obsolete as of version 2.1.0. Please use Parent instead.")]
public Xamarin.Forms.VisualElement ParentView { get; }
member this.ParentView : Xamarin.Forms.VisualElement
Property Value

The closest ansestor which is a VisualElement.

Remarks

Convenient way of accessing the nearest ancestor of an element which is actually represented on screen visually. If this element is a visual element, its bounds are relative to its ParentView.

Applies to