Hi,
We use for a long time WinForms 8.3.
In our applications, we use UltrapictureBox and play with enable/disable Property. When disabled, the picture become black and white (and we like it !), but when migrating to 10.1, this cool functionnality doesn't work. I've read the other post with the inverse problem, so, what about this ? Can I set a property to have a black and white image when disabled ? Or should I forget this functionnality ?
This was a bug that was corrected. The image was being disabled because that's what the Infragistics presentation layer framework is designed to do. But the inbox PictureBox does not alter images when it is disabled, so that behavior was incorrect.
But what you could do is use the static Infragistics.DrawUtility.CreateDisabledImage method to create a grayed-out version of your image.
What I would do is create the disabled image at the same time I assign the image to the control, or maybe in the Form_Load and store it. Then you can simply switch the image any time the EnabledChanged event fires.
Ok, I dit it and that's ok.
Thank you !