Språk

Fragment.IsVisible Property

Definition

Return true if the fragment is currently visible to the user.

public bool IsVisible { [Android.Runtime.Register("isVisible", "()Z", "")] get; }
[<get: Android.Runtime.Register("isVisible", "()Z", "")>]
member this.IsVisible : bool

Property Value

true when the fragment is added, is not hidden, and has a view marked visible with a non-null window token; otherwise, false.

Attributes

Remarks

Returns true if the fragment is added and not hidden, and its view has a window token and a visible state.

Android reference for android.app.Fragment.isVisible.

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