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

儲存格的資料列。

適用於

另請參閱