locked
How to remove the numbers with black background in top left and right corner

    Question

  • I am using VS2013 ultimate to build windows store app. I observed that there are numbers 000 000 and 000 060 with black background right after I new a windows store app? How do I remove it? and what is used for?

    Great Wall

    Tuesday, July 8, 2014 7:31 AM

Answers

  • These are the frame-rate and per-frame CPU usage counters from the DebugSettings.EnableFrameRateCounter property that is set in the app.xaml.cs code:

    #if DEBUG
                if (System.Diagnostics.Debugger.IsAttached)
                {
                    this.DebugSettings.EnableFrameRateCounter = true;
                }
    #endif
    You can delete this code, or set the property to false, if it's not relevant for you.

    Tuesday, July 8, 2014 7:58 AM