DataGridViewRowPrePaintEventArgs.PaintCellsContent(Rectangle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
繪製指定範圍內區域的儲存格內容。
public:
void PaintCellsContent(System::Drawing::Rectangle clipBounds);
public void PaintCellsContent(System.Drawing.Rectangle clipBounds);
member this.PaintCellsContent : System.Drawing.Rectangle -> unit
Public Sub PaintCellsContent (clipBounds As Rectangle)
參數
- clipBounds
- Rectangle
Rectangle A則指定要塗裝的區域DataGridView。
例外狀況
RowIndex 小於零或大於控制列 DataGridView 數減一。