Databinding UITypeEditor RRS feed

  • Question

  • I've created a custom VS designer similar to core WinForm designer. The output of this designer is an XML description of designed controls.

    I'm having problems with setting of databindings in my designer. When one tries to set databindings through property browser, standard databinding UITypeEditor pops out and offers selection of datasource. However, when the datasource is selected nothing happens.

    The standard WinForm designer generates according components (and code) upon selection of the datasource in property browser.

    Is the databinding UITypeEditor provided by Visual Studio? How can I attach to it and react to the action of selection of data source? Is it possible?

    Monday, March 27, 2006 10:32 AM


  • Have you tried using the EditorAttribute attribute on the property that returns the object? You should get more control over the object to design using this attribute.


    Monday, April 24, 2006 10:49 PM