gridview header color
by
San
on
Jan 10, 2012
Category:
C#
|
Views:
42
|
Points:
25
|
Bronze ★
|
|
|
private void datagridview1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.RowIndex == -1) { Brush b = new TextureBrush(global::Textiles.Properties.Resources.image1); e.Graphics.FillRectangle(b, e.CellBounds); e.PaintContent(e.ClipBounds); e.Handled = true; } }
|
Like this code? Bookmark and Share:
|
|
|
|
No Response found!
|
|
|
|
|