Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top