Question

I'm building a navigation based application in WPF. I have a main window which contains some tabs. Each tab contains a frame in which the associated page shall be shown.

I want my page (and its controls) to be resized when I change the size of the main window. I tried settings margins and not setting width and height, but that didn't work.

Was it helpful?

Solution

I see my mistake now. To have a resizable page, you should just set d:DesignHeight and d:DesignWidth, not Height and Width themselves.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top