Disable/Remove The Frame Rate Counter For Windows 10 Universal App

When you develop and run a Windows Universal App from the Visual Studio 2015, you may have notice that there are few text (in a format of 000 – 000) displayed below the title bar of the app like the following image.


The numbers indicate display frame rate and per frame CPU usage information of your app.

Let’s follow the steps to remove this frame rate count.

Go to Solution Explorer of your project and open the App.xaml.cs file.

Next go to OnLaunched Event handler and you can see the code in the following image:


In this code you can see EnableFrameRateCounter is set to true. Change that to false like the following code.

  1. if (System.Diagnostics.Debugger.IsAttached)  
  2. {  
  3.     this.DebugSettings.EnableFrameRateCounter = false;  
  4. }  
Now run the app and you can see that in the output we can’t see the frame counter.