R
Rob Oldfield
I'm using the DataGridColoredTextBoxColumn class (the VB version) -
http://msdn.microsoft.com/smartclient/community/wffaq/ctrlsp.aspx#4umuvlol
to colour cells in a datagrid on a windows form (VS 2003) and, for the most
part, it's working fine. One slight issue though...
If I use
backBrush = New LinearGradientBrush(bounds, Color.White, Color.Blue,
LinearGradientMode.Horizontal)
then the left hand edge of the cell has a vertical solid blue line down it.
And if I use
backBrush = New LinearGradientBrush(bounds, Color.Blue, Color.White,
LinearGradientMode.Horizontal)
then the left hand edge has a white vertical line down it.
In effect, the colour at the right hand edge of the box is 'wrapping' round
and reappearing as a single line down the left.
Does anyone know what is causing this, and what I can do to fix it?
http://msdn.microsoft.com/smartclient/community/wffaq/ctrlsp.aspx#4umuvlol
to colour cells in a datagrid on a windows form (VS 2003) and, for the most
part, it's working fine. One slight issue though...
If I use
backBrush = New LinearGradientBrush(bounds, Color.White, Color.Blue,
LinearGradientMode.Horizontal)
then the left hand edge of the cell has a vertical solid blue line down it.
And if I use
backBrush = New LinearGradientBrush(bounds, Color.Blue, Color.White,
LinearGradientMode.Horizontal)
then the left hand edge has a white vertical line down it.
In effect, the colour at the right hand edge of the box is 'wrapping' round
and reappearing as a single line down the left.
Does anyone know what is causing this, and what I can do to fix it?