共用方式為


View.WindowVisibility Property

Definition

Returns the current visibility of the window this view is attached to (either #GONE, #INVISIBLE, or #VISIBLE).

public virtual Android.Views.ViewStates WindowVisibility { [Android.Runtime.Register("getWindowVisibility", "()I", "GetGetWindowVisibilityHandler")] get; }
[<get: Android.Runtime.Register("getWindowVisibility", "()I", "GetGetWindowVisibilityHandler")>]
member this.WindowVisibility : Android.Views.ViewStates

Property Value

Returns the current visibility of the view's window.

Attributes

Remarks

Returns the current visibility of the window this view is attached to (either #GONE, #INVISIBLE, or #VISIBLE).

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

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