Sdílet prostřednictvím


View.IsInLayout Property

Definition

Returns whether the view hierarchy is currently undergoing a layout pass.

public virtual bool IsInLayout { [Android.Runtime.Register("isInLayout", "()Z", "GetIsInLayoutHandler")] get; }
[<get: Android.Runtime.Register("isInLayout", "()Z", "GetIsInLayoutHandler")>]
member this.IsInLayout : bool

Property Value

whether the view hierarchy is currently undergoing a layout pass

Attributes

Remarks

Returns whether the view hierarchy is currently undergoing a layout pass. This information is useful to avoid situations such as calling #requestLayout() during a layout pass.

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

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