View.Parent Property

Definition

Gets the parent of this view.

C#
public Android.Views.IViewParent? Parent { [Android.Runtime.Register("getParent", "()Landroid/view/ViewParent;", "")] get; }

Property Value

Parent of this view.

Attributes

Remarks

Gets the parent of this view. Note that the parent is a ViewParent and not necessarily a View.

Java documentation for android.view.View.getParent().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35