Hi ,
could any one tell me if it is possible disable ribbon tools depending on actions of the user? Any pointers if this is possible and using which code?
Hi,
It depends under what circumstances you would like to disable a tool. Simply to disable a tool you can use its SharedProps.Enabled property, e.g.:
foreach (ToolBase tool in this.ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools)
{
tool.SharedProps.Enabled = false;
}
Which will disable all tools in the first group of the first tab of the ribbon.
Let me know if this is what you are looking for or if you need further assistance.
Regards,
Stefaniya
Hi Stefaniya,
thanks a million that was exactly what I was looking for
Best Regards
Ronny