|
-
August 1st, 2007, 03:37 AM
#1
DataGrid Cell with multiple font styles
Hi,
First post guys. I have a Datagrid in a C# app. I want to format a single Cell so that it has multiple Font styles. EG. I want a word to be Bold and the rest to be normal text in a single cell. Is this even possible? Thanks for your help
-
August 3rd, 2007, 02:06 PM
#2
Re: DataGrid Cell with multiple font styles
you would have to inject html into the string your putting into the cell
so if your string was "This is my great string" and you wanted great to be bold you would first have to get the string and insert <b> tags into it.
"This is my <b>great</b> string.
then put that into the Datagrid Cell
hth,
mcm
rate my posts!
mcm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|