How does WPF-Grid implement SharedSizeGroup behavior?

Im trying to figure out how the grid works with size distribution in its columns and rows. I look at the grid code with Reflector but cannot find any hits. The cols / rows sharing size should first get the size you want, and then measure again with the maximum size found, to get the same size, to avoid just clipping in the arrangement if Im not mistaken. But I can not find code for sharing size with Reflector. Can someone explain how size sharing should be implemented around a custom panel class by measure and organized?

+5
source share
1 answer

Look at System.Windows.Controls.DefinitionBase Values ​​(taken from sharedscope, if used) are then used in grid.SetFinalSize

0
source

All Articles