How do I eliminate rogue “counters” on my Windows Store main page?

后端 未结 1 1362
后悔当初
后悔当初 2021-01-24 00:40

I have a minimalistic main page - 4 buttons and a Bing Map.

When I run the app, though, I see two rogue \"counters\" (don\'t know how else to describe them) in the upper

相关标签:
1条回答
  • 2021-01-24 01:32

    Those are frame rate counters turned on by default in your app.xaml.cs when building for debug:

            protected override void OnLaunched(LaunchActivatedEventArgs e)
            {
    #if DEBUG
                if (System.Diagnostics.Debugger.IsAttached)
                {
                    this.DebugSettings.EnableFrameRateCounter = true;
                }
    #endif
    

    You can remove these if you don't want them while debugging. They won't show up by default in release.

    --Rob

    0 讨论(0)
提交回复
热议问题