Hi,
for RibbonTools the associated icons are not shown with a gray overlay when the commands CanExecute-Method retruns false. The only indicator that the function is not available is that the MouseOver-Effect is not shown. Did I anything wrong or doesn’t Infragistics Ribbon support this behavior?
The icons I provide a DrawingImage with an DrawingBrush set.
Thanks in advance
Stef
WPF doesn't provide any functionality for automatically displaying images as grayed out. We have our own element that does this but it will only work for BitmapSource images so you will probably need to change the image you use based on the IsEnabled property of your tool. You can also submit a suggestion for extending the AutoDisabledImage to support DrawingImages.
Hallo Andrew,
I submitted a sugestion to extend the Infragistics AutoDisabledImage to support DrawingImages, but are there any steps I could take to support the graying functionality for my DrawingImages myself.
How is can I extend the AutoDisabledImage myself ?
Thanks in advance.