Mar 21, 2009 at 1:57 PM
I'm trying to get the control to occupy a non-square space and have had no luck.  If I set the H/V alignment to stretch the app crashes.  Is this a bug?
Mar 21, 2009 at 7:38 PM
Do you mean non-square or non-rectangular?  The sample app has the control in approximately 800x600, which is non-square.

I haven't specifically tested stretch alignment.  Can you post a minimal code sample that reproduces the crash/error you experience?

Mar 22, 2009 at 11:29 PM
I just tested it again and I don't get a crash with the scenario I described, but the control doesn't fill up it's parent grid like I expect.  Here's the source:

<Window x:Class="VESizeTest.Window1"
    Title="Window1" Height="300" Width="400">
        <ve:VEMap HorizontalAlignment="Stretch" Width="400"/>

You can see the white background of the window on the sides of the map when you'd expect the map to fill the entire window.  I also noticed that if I set the height to 300 then the map does fill the entire window.  Not sure why that is.

Mar 23, 2009 at 12:11 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Mar 23, 2009 at 12:12 AM
Will investigate.  Might need to mess with MeasureOverride or ArrangeOverride for this.
Jun 12, 2009 at 5:13 PM

Any update on this?  The tip that was suggested in the work item didn't work for me.

Jun 14, 2009 at 9:33 PM

No updates on this.