How do I format certain DataRows of a Windows.Forms.DataGrid?

G

Guest

Hi,

I would like to format certain DataRows in a Windows.Forms.DataGrid.

I know how to do that for the columns, but I cannot find a way to assign a specific font, color etc. to a specific kind of DataRows. I have 4 different kinds identified by a type value and would like to show the Rows with different styles

For Example:

All Rows of type 1 should be in bold
All Rows of type 2 should be in italics and grey
All Rows of type 3 should be underlined with red background
and so on.
 
C

ClayB [Syncfusion]

George Shepherd's Windows Forms FAQ contains an entry entitled:

How can I change the font used in a grid cell on a cell by cell or row
by row basis?

Check it out at:
http://www.syncfusion.com/faq/winforms/search/927.asp

=============================================
Clay Burch, .NET MVP

Syncfusion, Inc.
visit http://www.syncfusion.com for .NET Essentials


Dominik Luyten said:
Hi,

I would like to format certain DataRows in a Windows.Forms.DataGrid.

I know how to do that for the columns, but I cannot find a way to assign a
specific font, color etc. to a specific kind of DataRows. I have 4
different kinds identified by a type value and would like to show the Rows
with different styles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top