語言

View.RootSurfaceControl 屬性

定義

AttachedSurfaceControl 本身並非視圖,它只是視窗系統物件的介面,包含整個視圖階層結構。

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

屬性值

android.view.AttachedSurfaceControl此視圖的介面。 只有在 與 #onAttachedToWindow之間#onDetachedFromWindow被調用時,才會回傳非空值。

屬性

備註

AttachedSurfaceControl 本身並非視圖,它只是視窗系統物件的介面,包含整個視圖階層結構。 關於給定階層的根觀點,請參見 #getRootView。

Java 文件 android.view.View.getRootSurfaceControl()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於