0

是否可以使用图像(位图)设置 datagridview 单元格的背景?

4

1 回答 1

2

看看使用以下功能:

Private Sub DataGridView1_RowPostPaint(sender As Object, e As System.Windows.Forms.DataGridViewRowPostPaintEventArgs) Handles DataGridView1.RowPostPaint

End Sub

或者

 Private Sub DataGridView1_CellPainting(sender As Object, e As System.Windows.Forms.DataGridViewCellPaintingEventArgs) Handles DataGridView1.CellPainting

 End Sub
于 2012-10-11T16:40:16.090 回答