'How do I make my Windows Forms buttons visible again on Windows 11?

After upgrading to Windows 11 some buttons in my Windows Forms application has become invisible. When I hover over them, they regain visibility though.

The buttons should be visible all the time - and was so on Windows 10. I tried changing their color, etc. but to no avail.

The buttons belong to the namespace: DevExpress.XtraEditors.Repository and the RepositoryItemButtonEdit Class. Perhaps my version of DevExpress is simply to old. I'm running 16.2.4.

Has anyone tried this or something similar before?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source