How to

find out whether Windows UI effects are enabled

Published: 19. November 2011 | Updated: 19. November 2011
License: Microsoft Public License (MS-PL)
Categories: Windows
Tags: C# UI Windows Winforms WPF
Was this snippet helpful for you? YESYES / NONO

In WPF

using System.Windows;
bool enabled = SystemParameters.UIEffects;

In Winforms

using System.Windows.Forms;
bool enabled = SystemInformation.UIEffectsEnabled;
Send us feedback about this snippet »



Related Snippets: