C# datagridview 的属性及事件

1.CellPainting: 在datagridview重绘的时候触发此事件

2。RowPostPaint: 在单元格重绘之后触发此事件

3.DataGridView.GetCellDisplayRectangle 方法 :返回表示单元格的显示区域的矩形。

public Rectangle GetCellDisplayRectangle(
	int columnIndex,
	int rowIndex,
	bool cutOverflow
)
原文地址:https://www.cnblogs.com/qingtianhua/p/3449558.html