I have the pretty simple map application below. In the code behind I programmatically add the layers and zoom to a particular extent at startup. The map displays as expected. See images in attachment. But when I resize the window, the map is not adjusted accordingly. I tried to remove the width and height properties of the map but it then displays a very tiny image...
I would appreciate any hints toward making this work!