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

该单元格的行。

适用于

另请参阅