TableLayoutCellPaintEventArgs 构造函数

定义

初始化 TableLayoutCellPaintEventArgs 类的新实例。

public:
 TableLayoutCellPaintEventArgs(System::Drawing::Graphics ^ g, System::Drawing::Rectangle clipRectangle, System::Drawing::Rectangle cellBounds, int column, int row);
public TableLayoutCellPaintEventArgs(System.Drawing.Graphics g, System.Drawing.Rectangle clipRectangle, System.Drawing.Rectangle cellBounds, int column, int row);
new System.Windows.Forms.TableLayoutCellPaintEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * int * int -> System.Windows.Forms.TableLayoutCellPaintEventArgs
Public Sub New (g As Graphics, clipRectangle As Rectangle, cellBounds As Rectangle, column As Integer, row As Integer)

参数

g
Graphics

Graphics用于绘制项的项。

clipRectangle
Rectangle

表示 Rectangle 要在其中绘制的矩形。

cellBounds
Rectangle

单元格的边界。

column
Int32

单元格的列。

row
Int32

单元格的行。

适用于

另请参阅