Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the two numbers in top left of uap app using VS2015 and Windows 10?

I have installed Win 10 Preview and VS 2015. I created a new uap blank app and ran it and I get a Window with two numbers on the top left, eg 000 000 If I add a button to the app (and move it away from the obscuring numbers) and then click the button, the numbers change in what seems to me a random way, eg 020 001.

What is going on?

like image 222
hayrob Avatar asked Mar 31 '15 09:03

hayrob


2 Answers

I have now found that these numbers disappear if you set

this.DebugSettings.EnableFrameRateCounter = false

in OnLaunched. This is explained here

Not that this means anything to me.

like image 146
hayrob Avatar answered Nov 15 '22 11:11

hayrob


It's the frame counter turned on by the following code snippet in your App.xaml.cs:

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

source: https://social.msdn.microsoft.com/Forums/en-US/a33a634c-5c68-44b4-8fca-8eb5a263d145/misterious-numbers-being-displayed-in-upper-left-and-right-corners-of-the-screen?forum=winappswithcsharp

like image 42
Dung Avatar answered Nov 15 '22 11:11

Dung