ComponentFactory / Krypton

Krypton WinForms components for .NET
BSD 3-Clause "New" or "Revised" License
1.91k stars 694 forks source link

Other non Krypton controls changes their BackgroundColor after adding Krypton control to a from #214

Open i-m-luke opened 4 years ago

i-m-luke commented 4 years ago

In my application I would like to use some Krypton controls. But adding a control from the Krypton tooltip to a form is causing an inconvenient behaviour: When I add a control to a form then the other standard controls (all of the controls in my project) change their background colors (to blue) and it's not possible to reset it to the previous color (setting BackColor property does nothing). It seems that Krypton is now somehow overriding properties of all standard controls.

To get rid of this state I have to remove all Krypton controls added to forms, discard changes and restart VS (In some cases I also have to empty the cache (VS cache and temp directory as described on this page: https://www.matteopozzani.com/visual-studio-cache-cleanup/).

Does anyone encountered the same issue? How to manage Krypton not affecting properties of other non Krypton controls? What could possibly be causing the issue?

uggaldeniya commented 3 years ago

hey did you find any solution for this issue ?

i-m-luke commented 3 years ago

Unfortunately I haven't. Eventually I've decided not to use Krypton components.

xiaoyuvax commented 7 months ago

still not solved!