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
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);
//...
}
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">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With