I have binded my xamdatagrid's unbound field with a string property(which actually has a image name); used a converter that converts the name to a valid image path.I want to show the image on the cell, for which i created a style, that included the image control, of course, and applied this style to cell value presenter style.I was able to see image.
Now the problem, in the beginning, (without showing image), cell was showing the image path. I am also using a XamComboEditor on this unboundfield, which too was working.
After applying the custom style to cell value presenter which is changing the template basically, I guess the editor is overridden.
Please guide on how to show image and use the comboeditor (which I have customized to show a grid of controls instead of an items list) as well.
Thank you for your post. I have been looking into it and I am wondering if you could send us an isolated sample with your implementation and also give us more details how you want your application to work and some screenshots, too, so we could be able to think of a possible solution for you.
Looking forward for your reply.
I am a bit time constrained on my project, so it would be a great help if you can try the scenario mentioned above.By the time, I will try my best to create a sample app for you to reproduce the same.
Here is a sample. :)All I did different from this sample is using UnboundField instead of Field.
I have been looking into your sample and I can say that when you override the Template of the CellValuePresenter it stops to use an Editor as Content and this is why your ComboBox style is not applied. In order to achieve the functionality you want you can copy the default Style of the XamComboEditor control and edit its Template and EditTemplate. I modified your sample with this approach. Please let me know if this helps you or you have further questions on this matter. Looking forward for your reply.
Thanks Stefan, I have resolved the issue. :)