Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1834
Need tool enabled; EnabledResolved = false, but SharedProps.Enabled = true.
posted
Hi,

One of my ribbon tools has mysteriously become disabled. The app has always handled enabling these tools via ToolBase.SharedProps, and in the designer for the original ToolbarsManager where it is added, it is both visible and enabled.

I am not clear after reading the remarks for the EnabledResolved hierarchical determination; what do I need to do make sure this tool is enabled?

Thanks in advance,
J
Parents
No Data
Reply
  • 925
    Offline posted

    I had a similar problem, that took me ages to solve. At the end of the day it was just me being stupid, but thought I'd share the issue so others facing same issue can try it.

     My scenario was a PopupControlContainerTool, and previously it worked fine. I then did some fairly major rework and it would never become enabled. Eventually I realised I was forgetting to set the Control that the tool contains, kind of obvious really :)

Children
No Data