Share via


UIElement.IsArrangeValid Property

Gets a value indicating whether the computed size and position of child elements in this element's layout are valid.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public bool IsArrangeValid { get; }

Property Value

true if the size and position of layout are valid; otherwise, false.

Remarks

You can force arrangement to be invalidated by calling InvalidateArrange on this element (or its parents). This flags the layout for recomposition at such time as the layout system determines. Alternatively, an immediate call to UpdateLayout could be made, but this should only be done if it is certain that no further invalidations are pending (a large number of unnecessarily forced updates has performance consequences).

The IsArrangeValid property cannot be true unless IsMeasureValid is also true (in the layout process, arrangement cannot be valid without measurement first being valid).

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace