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

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...