I'm building a SmartClient app with the SmartClient oftware Factory (April 2008). I've created a WPF view and would like to display it in a WPF window workspace. I create and add the Microsoft.Practices.CompositeUI.WPF.WindowWorkspace without
a problem. I can show the view in the workspace without a problem either, however, the view (user control) does not resize when resizing the window. I've tried setting the Height and Width properties of the user control root element in the WPF
view to Auto. With these set to Auto, the window initializes to 0 Height and the to the Width of the window control box. So there's nothing there, and then when resizing window, the user control is still not resized. This problem is solved
for the regular windows forms view by putting the follow line of code in the constructor of the windows forms view:
.Dock = DockStyle.Fill;
In the WPF view, this option doesn't exist. Has anyone else come across this issue? And resolved it? Any help or suggetions would be great!