Share your content and reach out to more developers by submitting them at Abundantcode.com - Developer Community Site

How to Turnoff Frame rate counter in UWP App ?

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
Tags :

Leave Your Comment