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
2387
Displaying custom dialog editor for a cell
posted

I am working on implementing an editable property grid.  Most of the time I can simply use the stock embeddable editor, but there are a few places where I will need to display my own dialog.  I would like to stick with the standard <...> button at the right of the cell to open the custom editor dialog:

Do you have any code examples of implementing this type of feature?  I know it can be done because you do it in your custom property control during design time with your controls:)

Sam

Parents
  • 69832
    Suggested Answer
    Offline posted

    scarleton said:
    I know it can be done because you do it in your custom property control during design time with your controls

    What you are describing here is the .NET PropertyGrid control making use of the UITypeEditor designated as the designer for a particular property. The easiest way to get that functionality is to use that very same control, and assing a reference to the object being edited to the PropertyGrid's SelectedObject property.

Reply Children