All the talk on WP7 resolution = 800×480. I can create more than 480 and it shows up in the emulator – I just don’t know if this means I do have more screen space than is promulgated or if my emulator is lying to me.
Putting a Silverlight app in Landscape only mode (SupportedOrientations="Landscape" Orientation="Landscape" in <phone:PhoneApplicationPage />). I’ll have a width of 800 and height of 480 (d:DesignWidth="800" d:DesignHeight="480").
I change d:DesignHeight to d:DesignHeight="496" and then add as the only XAML inside the <phone:PhoneApplicationPage /> tag:
<Grid x:Name="LayoutRoot" Background="Blue">
<TextBlock Text="bottom" VerticalAlignment="Bottom"></TextBlock>
</Grid>
See there? My “Bottom” text is still showing on the screen. Anything thoughts?
Your “design” sizes will be overridden at runtime. Your emulator isn’t lying but your designer is (now) misleading.
You can data-bind some labels to
ActualWidthandActualheightto verify what’s happening.