DataGridViewRowPrePaintEventArgs.PaintCellsBackground メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Sub PaintCellsBackground ( _ clipBounds As Rectangle, _ cellsPaintSelectionBackground As Boolean _ )
Dim instance As DataGridViewRowPrePaintEventArgs Dim clipBounds As Rectangle Dim cellsPaintSelectionBackground As Boolean instance.PaintCellsBackground(clipBounds, cellsPaintSelectionBackground)
public function PaintCellsBackground ( clipBounds : Rectangle, cellsPaintSelectionBackground : boolean )


DataGridViewRow およびそのセルの内容を自分で描画する場合は、PaintCellsBackground メソッドを使用します。行全体およびそのセルの内容を手動で描画する場合は、HandledEventArgs.Handled プロパティを true に設定します。HandledEventArgs.Handled が true の場合、CellPainting イベントおよび RowPostPaint イベントは発生しません。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDataGridViewRowPrePaintEventArgs.PaintCellsBackground メソッドを検索する場合は、下記のリンクをクリックしてください。

- DataGridViewRowPrePaintEventArgs.PaintCellsBackground メソッドのページへのリンク