Lagging transitions in c#

Viewed 30

I have the following problem, I want to make a sidebar transition but when I use this code for the transition:

sidebar.Width += 15;

The result is lagging as if it's like 1 fps. I've used timer to handle the transition. Are there any plugins or setting that I should do to fix it?

0 Answers
Related