How do I write text in a datagrid cell with different font styles?
I want to change the FontStyle of only a few words in a cell of my DataGrid. Say I have a column called 'Item Description' in my DataTable. The DataTable is written in such a way that some of the Cells in this column have a few words enclosed in brackets, which means the enclosed text should be in italics (for example: "this item is really neat so [buy it now]", should convert to: "this item is really neat so buy it now", where 'buy it now' is in italics). How would I do this? I only know how to change the string in an individual cell, but I don't know how would I change the FontStyle of only one single part of the string in a given cell.
Thanks a lot for your help.