0

I need to know what it means when there is text with a black stripe on top left corner of a Windows 10 app when I run it from Visual Studio debugger (C#) as shown below:

Windows 10 app

Also, how to hide this text with a black stripe?

slayernoah
  • 4,382
  • 11
  • 42
  • 73
Earlgray
  • 647
  • 1
  • 8
  • 31

1 Answers1

2

This strip is known as FrameRateCounter. For Windows 8.1 before publishing in release mode we had to disable this counter. Now in windows 10 its precoded to work in Debug mode only.
In App.xaml

#if DEBUG
            if (System.Diagnostics.Debugger.IsAttached)
            {
                this.DebugSettings.EnableFrameRateCounter = true;
            }
#endif

Making this as false will disable the frameratecounter in debug mode also. Else you can deploy as Release version instead.
FramerateCounter is used to monitor the performance of your app, including frames per second and memory usage. This is quite helpful in mobile devices with lesser computing power.

Jerin
  • 3,657
  • 3
  • 20
  • 45