private void overview_SizeChanged(object sender, SizeChangedEventArgs e) { // // Update the scale so that the entire content fits in the window. // overview.ZoomToFit(); }