Question

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

Était-ce utile?

La solution 2

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">

Autres conseils

To fix this issue for the whole application (including on page transitinos) just add 1 line to the InitializePhoneApplication method in your App.xaml.cs

private void InitializePhoneApplication()
{
    //...

    RootFrame.Margin = new Thickness(0, -1, 0, 0);

    //...
}
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top