Turn Off The Frame Counter In UWP

When running a Windows Universal App from Visual Studio 2015, you can see some values changing on the top left corner of the App. These indicate the frame rate and per frame CPU usage of the app while debugging. Here we will have a look at how to remove the same while running your application.

Step 1: Open App.xaml.cs page of Visual Studio and find the following code.

  1. #if DEBUG  
  2. if (System.Diagnostics.Debugger.IsAttached)  
  3. {  
  4.     this.DebugSettings.EnableFrameRateCounter = true;  
  5. }  
  6. #endif  
Change the true to false 
Step 2: Run and Test your application.
Ebook Download
View all
View all