View.RootSurfaceControl Property

Definition

The AttachedSurfaceControl itself is not a View, it is just the interface to the windowing-system object that contains the entire view hierarchy.

public virtual Android.Views.IAttachedSurfaceControl? RootSurfaceControl { [Android.Runtime.Register("getRootSurfaceControl", "()Landroid/view/AttachedSurfaceControl;", "GetGetRootSurfaceControlHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getRootSurfaceControl", "()Landroid/view/AttachedSurfaceControl;", "GetGetRootSurfaceControlHandler", ApiSince=31)>]
member this.RootSurfaceControl : Android.Views.IAttachedSurfaceControl

Property Value

The android.view.AttachedSurfaceControl interface for this View. This will only return a non-null value when called between #onAttachedToWindow and #onDetachedFromWindow.

Attributes

Remarks

The AttachedSurfaceControl itself is not a View, it is just the interface to the windowing-system object that contains the entire view hierarchy. For the root View of a given hierarchy see #getRootView.

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

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