Are there any guidelines/recommendations about optimizing OnSizeAllocated and the layout process in general?
I have just been investigating recursion in OnSizeAllocated and putting in some optimizations, but it would be useful to know if there is any guidance about how best to do things such as re-sizing or re-positioning elements on a page based on the allocated page size, where “best” means safely, speedily and without using excessive memory.
Many thanks,
John H.