共用方式為


View.RootWindowInsets Property

Definition

Provide original WindowInsets that are dispatched to the view hierarchy.

public virtual Android.Views.WindowInsets? RootWindowInsets { [Android.Runtime.Register("getRootWindowInsets", "()Landroid/view/WindowInsets;", "GetGetRootWindowInsetsHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getRootWindowInsets", "()Landroid/view/WindowInsets;", "GetGetRootWindowInsetsHandler", ApiSince=23)>]
member this.RootWindowInsets : Android.Views.WindowInsets

Property Value

WindowInsets from the top of the view hierarchy or null if View is detached

Attributes

Remarks

Provide original WindowInsets that are dispatched to the view hierarchy. The insets are only available if the view is attached.

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

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