How to remove the Frame rate counters in Windows Phone Emulator?

When trying to run the Windows Phone application on the Windows Phone Emulator from the Visual Studio 2012 , you will notice that there few text being displayed in the Emulator as shown in the below screenshot .

How to remove the Frame rate counters in Windows Phone Emulator?

The numbers or the text displayed are the Frame rate counters which lets you to monitor the performance of the App. The frame rate counters displays information like Composition (Render) Thread Frame Rate, User Interface Thread Frame Rate (FPS), Texture Memory Usage, Surface Counter, Intermediate Surface Counter and Screen Fill Rate Counter.

How to remove the Frame rate counters in Windows Phone Emulator?

You can disable the Frame rate counters by setting the Application.Current.Host.Settings.EnableFrameRateCounter property to false in the App.xaml.cs file as shown below. By default, the EnableFrameRateCounter is set to true.

if (Debugger.IsAttached)

{

   // Display the current frame rate counters.

   Application.Current.Host.Settings.EnableFrameRateCounter = false;

}

How to remove the Frame rate counters in Windows Phone Emulator?

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...