Export (0) Print
Expand All

UIElement.IsArrangeValid Property

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

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public bool IsArrangeValid { get; }

Property Value

Type: System.Boolean
true if the size and position of layout are valid; otherwise, false.

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).

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

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft