Skip to content

Instantly share code, notes, and snippets.

@igorkulman
Created March 15, 2014 19:15
Show Gist options
  • Save igorkulman/9572347 to your computer and use it in GitHub Desktop.
Save igorkulman/9572347 to your computer and use it in GitHub Desktop.
Windows Phone: a way to get rid of the 1px line under Systray in 720p
protected override PhoneApplicationFrame CreatePhoneApplicationFrame()
{
var frame = new PhoneApplicationFrame { Margin = new Thickness(0, -1, 0, 0) };
return frame;
}
private void InitializePhoneApplication()
{
RootFrame.Margin = new Thickness(0, -1, 0, 0);
}
<Grid x:Name="LayoutRoot" Margin="0 -1 0 0">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment