IsAllLayoutSuspended
Introduction
Common Usage
var child = new ColoredRectangleRuntime();
parent.Children.Add(child);
child.X = 100;
child.Y = 200;
child.Width = 50;
child.Height = 30;GraphicalUiElement.IsAllLayoutSuspended = true;
var child = new ColoredRectangleRuntime();
parent.Children.Add(child);
child.X = 100;
child.Y = 200;
child.Width = 50;
child.Height = 30;
GraphicalUiElement.IsAllLayoutSuspended = false;
// after resuming layouts, explicitly call layout at the top level:
parent.UpdateLayout();Code Example - Measuring Layout Calls
Last updated
Was this helpful?

