J
jasmine
I was wondering if it's possible to change the backcolor
of certain rows in a datagrid??
Thanks alot!
of certain rows in a datagrid??
Thanks alot!
Romain said:the DataGrid.AlternatingBackColor Property may be all you need ...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformsdatagridclassalternatingbackcolortopic.asp
number of rows in the Datagrid, and then I check that-----Original Message-----
I was able to alter Alex's great handler to colour individual rows.
I created an array of Boolean who's size is equal to the
on the contents of a particular cell in a row as well.The handler could also be altered to paint rows depending
paint individual cells as well by altering theI'm sure that you could alter the handler even farther to
Romain TAILLANDIER said:1) Individual cells can be formatted differently by deriving you own
DatGridColumnStyle and overriding the OnPaint method. Lookup the
DataGridTextBoxColumn.Paint Method.
I was wondering if it's possible to change the backcolor
of certain rows in a datagrid??
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.