UIElement.IsMeasureValid Property
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
You can force measurement and arrangement to be invalidated by calling InvalidateMeasure on this element (or any parent element up the visual tree). This designates the layout for recomposition asynchonously, occuring at a time determined by the layout system. Alternatively, you could make an immediate call to UpdateLayout. However, you should only call UpdateLayout if it is likely that no further invalidations are pending (a large number of unnecessarily forced updates will have performance consequences).
If IsMeasureValid is false, IsArrangeValid must also be false (by the enforced logic of the layout process, arrangement cannot be valid without measurement first being valid).
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Reference
UIElement ClassUIElement Members
System.Windows Namespace
UpdateLayout