How to Turnoff Frame rate counter in UWP App ?


This content was proof-read by Grammarly. You can Try Grammary for FREE

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
%d bloggers like this: