Friday, December 25, 2015

[WPF] SharedSizeGroup IsSharedSizeScope Grid inside UserControl

While I can't confirm for sure that your requirement will work, I can confirm that as long as you set the Grid.IsSharedSizeScope Attached Property to True on a parent container control of both of the Grids that you have set up SharedSizeGroups for, then it should work. To find out for sure, just try it out... you could have probably tested it yourself quicker than the time it took you to write this question.

If there is no parent container control at the moment, just add one.... (put everything into it). The important thing to note here is that you're only supposed to set Grid.IsSharedSizeScope to True on the one single parent container control and not on every Grid.

SET Grid.IsSharedSizeScope in the PARENT control! NOT ON THE GRID ITSELF!

http://stackoverflow.com/a/26282796/2547795