Standard-Toolkit icon indicating copy to clipboard operation
Standard-Toolkit copied to clipboard

[Bug]: Unable to Set KColorButton Image

Open sdreb3421 opened this issue 3 years ago • 0 comments

Using Visual Studio 2022, NET6 designer, and Krypton Toolkit Nightly 70.22.8.213. This also occurs in stable version 6.2201.4, so I assume its an issue with VS2022 and NET 6 designer. Not targeting multiple frameworks for designer due to incompatible Nuget packages.

Cannot set the image via designer or programatically for Krypton Color Button. In VS2019 the button would look like the image below, and would only show the image if the color was set to transparent.

image

Now the button looks like this and cannot be changed.

image

Regardless of what image is selected in the designer, the designer code always resets to this:

this.btnImageColor.Values.Image = ((System.Drawing.Image)(resources.GetObject("btnImageColor.Values.Image")));

sdreb3421 avatar Aug 02 '22 18:08 sdreb3421