UIElement.IsArrangeValid Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the computed size and position of child elements in this element's layout are valid.
public:
property bool IsArrangeValid { bool get(); };
public bool IsArrangeValid { get; }
member this.IsArrangeValid : bool
Public ReadOnly Property IsArrangeValid As 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).
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: