Hi Wisej,
How to change Image propertis at runtime?
Thank you.
Hi,
the fix is included in Wisej 2.0.36
Please note that (same in Winforms) if you change an image in an imagelist after the image is loaded the control doesn’t know that the imagelist changed and the imagelist doesn’t know which controls are using it.
To update it set (or reset) the ImageIndex or ImageKey on the control. Calling control.Update() doesn’t do anything since nothing changed.
Best regards
Frank
Hi,
The issue has been fixed and will be available in the next release.
Best,
Levie
Hi,
There is an issue with Wisej’s ImageList. You will need to re-set the ImageIndex of the control after you change the ImageList image and that should update the other controls accordingly. You can see that’s the same behavior as in WinForms.
I have logged the issue as #1949.
I’ll keep you updated when it’s fixed!
Best regards,
Levie
Please login first to submit.