How to Turnoff Frame rate counter in UWP App ?

Published on December 7, 2015 by abundantcode

Filed under Universal Windows App

Last modified December 7, 2015

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 3021 times

You can turn off the frame rate counter in your Universal Windows Platform (UAP) apps by following the below steps.

How to Turnoff Frame rate counter in UWP App ?

1. Open your UWP project built using C# and XAML in Visual Studio.

2. From Visual Studio Solution explorer , open App.xaml.cs.

3. Set the DebugSettings.EnableFrameRateCounter property with the false false. as shown below.

#if DEBUG     
if (System.Diagnostics.Debugger.IsAttached)     
{         
    this.DebugSettings.EnableFrameRateCounter = false;     
} 
#endif
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

C Program to find the G.C.D of a number using Recursive function

Problem Write a program in C to find the find the G.C.D of a number using recursion and display the ...

C Program to print a Half Pyramid using *

Problem Write a program in C to print Half pyramid using * as shown. * * * * * * * * * * ...

C Program to display Positive factors of a number

Problem Write a program in C to display all the positive factors of a number enter by the user. Ho...