UIElement.UpdateLayout Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Ensures that all positions of child objects of a UIElement are properly updated for layout.
Assembly: System.Windows (in System.Windows.dll)
Frequent calls to InvalidateArrange, or in particular to UpdateLayout, have significant performance consequences if large numbers of elements exist in the UI. Avoid calling this method unless you absolutely require precise layout state for subsequent calls to other APIs in your code.