Language

DataGridBoolColumn.Paint メソッド

定義

列を塗りつぶします。

オーバーロード

名前 説明
Paint(Graphics, Rectangle, CurrencyManager, Int32)

指定したDataGridBoolColumn、Graphics、行番号を使用してRectangleを描画します。

Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean)

指定したDataGridBoolColumn、Graphics、行番号、および配置設定でRectangleを描画します。

Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean)

指定したDataGridBoolColumn、Graphics、行番号、Rectangle、およびBrushでColorを描画します。

Paint(Graphics, Rectangle, CurrencyManager, Int32)

ソース:
DataGridBoolColumn.cs
ソース:
DataGridBoolColumn.cs

指定したDataGridBoolColumn、Graphics、行番号を使用してRectangleを描画します。

protected public:
 override void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum);
protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum);
override this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int -> unit
Protected Friend Overrides Sub Paint (g As Graphics, bounds As Rectangle, source As CurrencyManager, rowNum As Integer)

パラメーター

g
Graphics

描画する Graphics 。

bounds
Rectangle

描画する境界 Rectangle 。

source
CurrencyManager

列の CurrencyManager 。

rowNum
Int32

基になるデータで参照される行の番号。

注釈

このメソッドは、渡されたグラフィックス オブジェクトの背景色で背景を描画します。

適用対象

Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean)

ソース:
DataGridBoolColumn.cs
ソース:
DataGridBoolColumn.cs

指定したDataGridBoolColumn、Graphics、行番号、および配置設定でRectangleを描画します。

protected public:
 override void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum, bool alignToRight);
protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight);
override this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * bool -> unit
Protected Friend Overrides Sub Paint (g As Graphics, bounds As Rectangle, source As CurrencyManager, rowNum As Integer, alignToRight As Boolean)

パラメーター

g
Graphics

描画する Graphics 。

bounds
Rectangle

描画する境界 Rectangle 。

source
CurrencyManager

列の CurrencyManager 。

rowNum
Int32

参照される基になるデータ テーブル内の行の番号。

alignToRight
Boolean

コンテンツを右揃えにするかどうかを示す値。 true コンテンツが右揃えの場合は、それ以外の場合は false。

適用対象

Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean)

指定したDataGridBoolColumn、Graphics、行番号、Rectangle、およびBrushでColorを描画します。

protected public:
 override void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum, System::Drawing::Brush ^ backBrush, System::Drawing::Brush ^ foreBrush, bool alignToRight);
protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight);
override this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * System.Drawing.Brush * System.Drawing.Brush * bool -> unit
Protected Friend Overrides Sub Paint (g As Graphics, bounds As Rectangle, source As CurrencyManager, rowNum As Integer, backBrush As Brush, foreBrush As Brush, alignToRight As Boolean)

パラメーター

g
Graphics

描画する Graphics 。

bounds
Rectangle

描画する境界 Rectangle 。

source
CurrencyManager

列の CurrencyManager 。

rowNum
Int32

参照される基になるデータ テーブル内の行の番号。

backBrush
Brush

背景色の描画に使用する Brush 。

foreBrush
Brush

前景色の描画に使用する Color 。

alignToRight
Boolean

コンテンツを右揃えにするかどうかを示す値。 true コンテンツが右揃えの場合は、それ以外の場合は false。

注釈

列のチェック ボックスを塗りつぶします。

こちらもご覧ください

適用対象