DataGridBoolColumn.Paint Metoda

Definicja

Maluje kolumnę.

Przeciążenia

Paint(Graphics, Rectangle, CurrencyManager, Int32)

Źródło:
DataGridBoolColumn.cs
Źródło:
DataGridBoolColumn.cs

Rysuje element DataGridBoolColumn z podaną Graphicsliczbą wierszy i 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)

Parametry

g
Graphics

Narysuj Graphics na.

bounds
Rectangle

Granica do malowania Rectangle .

source
CurrencyManager

Kolumna CurrencyManager .

rowNum
Int32

Liczba wierszy, o których mowa w danych bazowych.

Uwagi

Ta metoda maluje tło kolorem tła w przekazanym obiekcie graficznym.

Dotyczy

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

Źródło:
DataGridBoolColumn.cs
Źródło:
DataGridBoolColumn.cs

Rysuje element DataGridBoolColumn z podanymi Graphicsustawieniami , Rectangle, numer wiersza i wyrównania.

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)

Parametry

g
Graphics

Narysuj Graphics na.

bounds
Rectangle

Granica do malowania Rectangle .

source
CurrencyManager

Kolumna CurrencyManager .

rowNum
Int32

Liczba wierszy w źródłowej tabeli danych, do której się odwołuje.

alignToRight
Boolean

Wartość wskazująca, czy zawartość ma być wyrównana do prawej strony. truejeśli zawartość jest wyrównana do prawej, w przeciwnym razie . false

Dotyczy

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

Rysuje element DataGridBoolColumn przy użyciu podanej Graphicsliczby wierszy, RectangleBrushi 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)

Parametry

g
Graphics

Narysuj Graphics na.

bounds
Rectangle

Granica do malowania Rectangle .

source
CurrencyManager

Kolumna CurrencyManager .

rowNum
Int32

Liczba wierszy w źródłowej tabeli danych, do której się odwołuje.

backBrush
Brush

Element Brush używany do malowania koloru tła.

foreBrush
Brush

Element Color używany do malowania koloru pierwszego planu.

alignToRight
Boolean

Wartość wskazująca, czy zawartość ma być wyrównana do prawej strony. truejeśli zawartość jest wyrównana do prawej, w przeciwnym razie . false

Uwagi

Maluje pole wyboru w kolumnie.

Zobacz też

Dotyczy