Wpf User Control scale problem?

Up vote 2 down vote favorite 1 share g+ share fb share tw.

I have a user control that has 5 rectangle shapes in it. I would like to be able to change the size of this control when I use it, but the rectangles don't scale with the control when I put it in the designer and resize it there, they just get covered up or don't expand. This seems like it should be very simple but it's eluding me.

C# wpf usercontrols scaling link|improve this question asked Feb 2 '10 at 15:47isorfir14629 79% accept rate.

Answer from Ben Ronco of Microsoft: "Put the root Grid in a Viewbox" Just as simple as I thought it would be.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions