Partager via


Activity.Parent Property

Definition

Return the parent activity if this view is an embedded child.

public Android.App.Activity? Parent { [Android.Runtime.Register("getParent", "()Landroid/app/Activity;", "")] get; }
[<get: Android.Runtime.Register("getParent", "()Landroid/app/Activity;", "")>]
member this.Parent : Android.App.Activity

Property Value

Attributes

Remarks

Return the parent activity if this view is an embedded child.

Java documentation for android.app.Activity.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