Arrow in rowheader
C#
6
Posts
3
Posters
0
Views
1
Watching
-
The one that indicates which row is selected? I haven't yet found a way. And DataGridViews are for talentless hacks anyway, so I don't bother.
-
The one that indicates which row is selected? I haven't yet found a way. And DataGridViews are for talentless hacks anyway, so I don't bother.
-
I solved the problem. As my CellPainting has already been overriden, I added such construction to clear the arrow: using (Brush backColorBrush = new SolidBrush(e.CellStyle.BackColor)) { e.Graphics.FillRectangle(backColorBrush, e.CellBounds.X+1, e.CellBounds.Y+1, 20,40); }