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
616
My control as EditorControl
posted

I want to place in a cell of the table my UserControl. I understand that for this purpose it is necessary to realise interface IProvidesEmbeddableEditor. Prompt please as to me it to make?

Parents
  • 37774
    Suggested Answer
    posted

    With the release of 9.2, the ControlContainerEditor is available to support putting custom controls within the cells of an UltraGrid.  Prior to 9.2, you will have to implement the IProvidesEmbeddableEditor interface, as you mentioned, which is not trivial; the closest example is the C# RichTextEditor sample that ships with the product samples, or if you have the source code take a look at how some of the editors are implemented.  This is generally not worth implementing since it could take you at least several days to properly implement this interface, which is why the ControlContainerEditor was created.

    -Matt

Reply Children