View.RootView 属性

定义

查找当前视图层次结构中最顶层的视图。

public virtual Android.Views.View? RootView { [Android.Runtime.Register("getRootView", "()Landroid/view/View;", "GetGetRootViewHandler")] get; }
[<get: Android.Runtime.Register("getRootView", "()Landroid/view/View;", "GetGetRootViewHandler")>]
member this.RootView : Android.Views.View

属性值

包含此视图的最顶层视图

属性

注解

查找当前视图层次结构中最顶层的视图。

android.view.View.getRootView()Java 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

适用于