Home
> Prsnl References > Remove Frame rate counters or black rectangles from corners while running Universal windows app
Remove Frame rate counters or black rectangles from corners while running Universal windows app
While i started the development on Universal windows app and when i run the UWP app on Local machine or on emulator i noticed a black rectangle on the top right corners of application like in the image
After reading few more about UWP i realized that this is indication of frame rates and we can disable it. So to disable this Frame rate indication while running the application what we have to do is disable few lines of code from the OnLaunched event in App.xaml.cs file
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = true;
}
#endif
Categories: Prsnl References
C#, UWP
Comments (0)
Trackbacks (0)
Leave a comment
Trackback