DataGridBoolColumn.Paint Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Maluje kolumnę.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Paint(Graphics, Rectangle, CurrencyManager, Int32) |
Rysuje element DataGridBoolColumn z podaną Graphicsliczbą wierszy i Rectangle . |
| Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) |
Rysuje element DataGridBoolColumn z podanymi Graphicsustawieniami , Rectangle, numer wiersza i wyrównania. |
| Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) |
Rysuje element DataGridBoolColumn przy użyciu podanej Graphicsliczby wierszy, RectangleBrushi Color. |
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
- 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
- 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
- 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
Uwagi
Maluje pole wyboru w kolumnie.