View.RootView Property

Definition

Finds the topmost view in the current view hierarchy.

C#
public virtual Android.Views.View? RootView { [Android.Runtime.Register("getRootView", "()Landroid/view/View;", "GetGetRootViewHandler")] get; }

Property Value

the topmost view containing this view

Attributes

Remarks

Finds the topmost view in the current view hierarchy.

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

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