語言

DataGridViewCellPaintingEventArgs.PaintContent(Rectangle) 方法

定義

繪製指定範圍內區域的細胞含量。

public:
 void PaintContent(System::Drawing::Rectangle clipBounds);
public void PaintContent(System.Drawing.Rectangle clipBounds);
member this.PaintContent : System.Drawing.Rectangle -> unit
Public Sub PaintContent (clipBounds As Rectangle)

參數

clipBounds
Rectangle

Rectangle A則指定要塗裝的區域DataGridView。

例外狀況

RowIndex 小於 -1 或大於或等於控制列 DataGridView 數。

-或-

ColumnIndex 小於 -1 或大於或等於控制列 DataGridView 數。

適用於

另請參閱