Is there a way to automatically grey out the icons of tools in the ribbon?
When tools are disabled, the text for the buttons gets greyed out, but the icon does not. Why is this?
If you add the same tool to the quick launch bar then it will grey out the icon. Is there a way to enable this for the ribbon as well?
Thanks,
Robson
Try this code:
item.SharedProps.Enabled = False
Next
Disabling the buttons is not the problem. I want the image to be greyed out as well.
I did as you suggest in the "IGPaint with Ribbon CS" sample:
foreach (ToolBase tool in this.ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools) {tool.SharedProps.Enabled = false; }
{
}
You can see the result in the attachement.
The items in the quick launch are greyed out. The words beside the buttons (cut/Redo/Copy) are greyed out. But the Images for those buttons are not greyed out in the ribbon (paste image, cut image, redo image, copy image).
Any ideas?
(I am using the NetAdvantage 2006 V3)
I was not able to reproduce the issue with the latest version. Its possible this was a bug in version 6.3, but that version is no longer supported. Try upgrading to the latest version. If you still experience the problem, you should submit the issue to the support group: http://es.infragistics.com/gethelp.