共用方式為


View.IsShown Property

Definition

Returns the visibility of this view and all of its ancestors

public virtual bool IsShown { [Android.Runtime.Register("isShown", "()Z", "GetIsShownHandler")] get; }
[<get: Android.Runtime.Register("isShown", "()Z", "GetIsShownHandler")>]
member this.IsShown : bool

Property Value

True if this view and all of its ancestors are #VISIBLE

Attributes

Remarks

Returns the visibility of this view and all of its ancestors

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

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