Search code examples
windows-phone-8windows-phone-8-emulator

How to remove extra image displayed in Windows Phone Emulator?


Captured From Emulator

![enter image description here]

When i run my app, the emulator display some unwanted images or text in the top right corner

as shown in the above picture(indicate by red mark).

What is this image or text?

How can i remove this?


Solution

  • These numbers are Frame rate counters. You can enable/disable them in App.xaml.cs:

    // Show graphics profiling information while debugging.
    if (System.Diagnostics.Debugger.IsAttached)
    {
        // Display the current frame rate counters.
        Application.Current.Host.Settings.EnableFrameRateCounter = true;
    
        // other code…
    }
    

    Comment that line or change value to false to remove the counters.