Вопрос

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

Это было полезно?

Решение 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">

Другие советы

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);

    //...
}
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top