共用方式為


View.Parent Property

Definition

Gets the parent of this view.

public Android.Views.IViewParent? Parent { [Android.Runtime.Register("getParent", "()Landroid/view/ViewParent;", "")] get; }
[<get: Android.Runtime.Register("getParent", "()Landroid/view/ViewParent;", "")>]
member this.Parent : Android.Views.IViewParent

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