I am working on customizing xamDataGrid to edit categorized collection of name-value pairs, which should look like property grid. How do I configure xaml to invoke custom editor based on object type in the cell?
Thanks.
Hello Artem,
I have created a sample application that demonstrates an approach for achieving your goal. I use DataTriggers in a style for the CellValuePresenter to determine the type of the object that the Cell contains and based on this type I set a different ContentTemplate for the CellValuePresenter.
Please let me know if this is what you needed or if you require any further assistance on the matter.
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks Krasimir, it is exactly what I was looking for. Sorry, could not get back to you earlier.