0

I have a grid in a Viewbox. If shrink the width of my window the grid getting smaller.. but if I shrink the height, nothing happened.

Dave Clemmer
  • 3,741
  • 12
  • 49
  • 72
rakete
  • 2,953
  • 11
  • 54
  • 108

1 Answers1

3

Sounds Like the parent container is the problem! I have solved this changing the parent container to Grid (from the default StackPanel in for instance ItemsControl.ItemsPanelTemplate).

Lets see the complete xaml!

code-zoop
  • 7,312
  • 8
  • 47
  • 56