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
90
how to assign a custom UserControl into an UnboundField in XamDataGrid?
posted

I want to have my own custom WPF UserControl (which actually composed from two other xamDAtaGrids) into an UnboundField in XamDataGrid.

where can i get a code sample how to do that?

 

Thank you

  • 9694
    Suggested Answer
    posted

    Hello,

    In the Feature Browser sample look for the Control Composition -> Icons in Unbound Field sample. This demonstrates how to place custom content using a CellValuePresenter style into an Unbound Field. In the CellValuePresenter ControlTemplate part of the style you can place anything. This is where you would assign an instance of your custom UserControl (which can contain virtually anything you want).

    Thank you!