I would like to have animation in my program, but before I impose them on everyone (especially people with poor equipment), I would also like to check if they are even needed.
Therefore, I would like to check the setting in the Performance Option window (screenshot below).

I noticed that some programs use it (so I know that it exists), so I believe that for this I should use an accessible API.
So my question is how can I check if this option is enabled or not?
This ultimately happens in a C # WPF application.
source
share