WPF user control does not resize with main window
You're specifying the Height
and Width
properties as fixed values in the UserControl. Remove those properties, and set the HorizontalAlignment
and VerticalAlignment
properties of the control instance in the main window to Stretch
. That should take care of it.