locked
How do I remove framerate information (see pic) from app....

    Question

  • Thank you in advance

    WP8.1 Silverlight


    “If you want something you've never had, you need to do something you've never done.”

    Don't forget to mark helpful posts and answers ! Answer an interesting question? Write a new article about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.


    • Edited by Paul Ishak Wednesday, December 10, 2014 9:12 AM
    Wednesday, December 10, 2014 6:24 AM

Answers

  • That's debug frame rate counters enabled in your App.xaml.cs file where it (probably) calls

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

    With this default code it will only appear when running under the debugger. You can remove this code if you don't want it when debugging, but it is useful to monitor rendering performance.

    --Rob

    • Marked as answer by Paul Ishak Wednesday, December 10, 2014 6:36 AM
    Wednesday, December 10, 2014 6:34 AM
    Owner
  • I found the answer here:

    http://msdn.microsoft.com/en-us/library/windows/apps/gg588380%28v=vs.105%29.aspx


    “If you want something you've never had, you need to do something you've never done.”

    Don't forget to mark helpful posts and answers ! Answer an interesting question? Write a new article about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

    • Marked as answer by Paul Ishak Wednesday, December 10, 2014 6:32 AM
    Wednesday, December 10, 2014 6:32 AM

All replies

  • I found the answer here:

    http://msdn.microsoft.com/en-us/library/windows/apps/gg588380%28v=vs.105%29.aspx


    “If you want something you've never had, you need to do something you've never done.”

    Don't forget to mark helpful posts and answers ! Answer an interesting question? Write a new article about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

    • Marked as answer by Paul Ishak Wednesday, December 10, 2014 6:32 AM
    Wednesday, December 10, 2014 6:32 AM
  • That's debug frame rate counters enabled in your App.xaml.cs file where it (probably) calls

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

    With this default code it will only appear when running under the debugger. You can remove this code if you don't want it when debugging, but it is useful to monitor rendering performance.

    --Rob

    • Marked as answer by Paul Ishak Wednesday, December 10, 2014 6:36 AM
    Wednesday, December 10, 2014 6:34 AM
    Owner