开发者

DataGridView Current Cell border Highlight

I am using a data开发者_如何学Pythongridview with the selectionmode as full row select

I am not able to find how to darken the border of the current cell.

Can any body please help?

Thanks


Handle DataGridView MouseDown event

private void dataGridView_MouseDown(object sender, MouseEventArgs e)
{
     DataGridView.HitTestInfo info = dataGridView.HitTest(e.X, e.Y);
     cell = //..get from info
     cell.AdjustCellBorderStyle(..
}

This is just example from head, hope that works.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜