Add a MeasureUpdated event and look at deprecating SizeChanged for LayoutUpdated #23274
Labels
area-controls-general
General issues that span multiple controls, or common base classes such as View or Element
t/perf
The issue affects performance (runtime speed, memory usage, startup time, etc.)
Milestone
Description
The SizeChanged event is called from the arrange pass on each platform. At the point that you're doing an arrange pass everything should have its proper size. If you modify the size of anything during the arrange pass it's going to trigger a new layout loop. We see a lot of patterns where people will listen to the SizeChanged event and then modify the size of something else based on this change. This is always going to trigger a second layout loop. This is also going to happen if users are binding to the Height/Width property on controls
Things to Investigate
Current workarounds
The text was updated successfully, but these errors were encountered: