Xamarin.Forms
Element
ParentView
Xamarin.Forms.Element.ParentView Property
Gets the element which is the closest ancestor of this element that is a
Xamarin.Forms.VisualElement
.
Syntax
public
VisualElement
ParentView
{ get; }
Value
The closest ansestor which is a
Xamarin.Forms.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.
Requirements
Namespace:
Xamarin.Forms
Assembly:
Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:
1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.3.0