WPF: Sizing Canvas to contain its children

I have a task to draw multiple rectangles and manipulate them. So I'm using an ItemsControl with it's ItemsPanel as a Canvas, and a wrapping ScrollViewer: <ScrollViewer Height="200" Grid.Row="1...