Hi,
I want to display a image in the first column based on a condition.
For example: I fetch records which has a criticality feature. If a record is critical then i need to display the critical image for the corresponding row and if the row is not critical then do not display the image.
Can you please help me to achieve this.
Thanks in Advance.
Varun R
Hello Varun,
You can do that with DataBinding (DataTrigger). You can see an example for that in the XamFeatureBrowser, under XamDataGrid - Custom CellValuePresenter Style - Advanced. In that example, the Image in front of the text in the Team Field is changed according to the text.
Hope this helps.