disabling binding command in propertygrid for select dependency properties RRS feed

  • Question

  • I'm hosting the WorkflowDesigner and I have a few properties on activities that have their own UITypeEditor. For these properties I would like to disable the yellow icon(formerly blue) on the propertygrid that launches the Binding dialog box. I noticed that for inherited properties this seems to be disabled. is their an explicit attribute I need to apply?

    Wednesday, March 5, 2008 7:21 PM


  • I'm afraid currently there is no way to disable the binding dialog for dep. properties.


    however since you have a UITypeEditor with that property the type editor will take precedence over the bind dialog in the "..." button. which is what users tend to click first before they try the yellow icon for binding.


    Also why are you trying to disable binding on a dep. property. you can make it a simple .net property if you dont want binding.


    Thursday, April 10, 2008 8:04 AM