Search code examples
xamlwindows-phone-8system-traywindows-phone-8-emulator

Why does the SystemTray has a bottom border in WXGA simulator?


I wonder how I can remove the bottom border of the system tray in WindowsPhone8-App on WXGA resolution?

Here is what happens on WXGA simulator: the small gray line does not appear eg in 720p emulator

the small gray line does not appear eg in 720p emulator


Solution

  • I don't really understand why it happens, but you can fix it by setting a negative top-margin on the root element of your page:

    <Grid x:Name="LayoutRoot" Background="Gray" Margin="0 -1 0 0">