Język

DataGridColumnStyle.Paint Metoda

Definicja

Po przesłonięciu w klasie pochodnej namaluje kolumnę w kontrolce DataGrid .

Przeciążenia

Nazwa Opis
Paint(Graphics, Rectangle, CurrencyManager, Int32)

Maluje element DataGridColumnStyle z określonym Graphicsnumerem wiersza , Rectangle, CurrencyManager, i .

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

Po przesłonięciu w klasie pochodnej maluje element DataGridColumnStyle z określonym Graphics, Rectangle, CurrencyManager, numerem wiersza i wyrównaniem.

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

Maluje element DataGridColumnStyle o określonym Graphicsnumerze , Rectangle, CurrencyManager, numer wiersza, kolor tła, kolor pierwszego planu i wyrównanie.

Paint(Graphics, Rectangle, CurrencyManager, Int32)

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

Maluje element DataGridColumnStyle z określonym Graphicsnumerem wiersza , Rectangle, CurrencyManager, i .

protected public:
 abstract void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum);
protected internal abstract void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum);
abstract member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int -> unit
Protected Friend MustOverride 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

Kontrolka CurrencyManagerDataGrid , do którego należy kolumna.

rowNum
Int32

Liczba wierszy w danych bazowych, do których są odwoływane.

Dotyczy

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

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

Po przesłonięciu w klasie pochodnej maluje element DataGridColumnStyle z określonym Graphics, Rectangle, CurrencyManager, numerem wiersza i wyrównaniem.

protected public:
 abstract void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum, bool alignToRight);
protected internal abstract void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight);
abstract member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * bool -> unit
Protected Friend MustOverride 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

Kontrolka CurrencyManagerDataGrid , do którego należy kolumna.

rowNum
Int32

Liczba wierszy w danych bazowych, do których są odwoływane.

alignToRight
Boolean

Wartość wskazująca, czy dopasować zawartość kolumny do prawej strony. true jeśli zawartość powinna być wyrównana do prawej strony; w przeciwnym razie false.

Dotyczy

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

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

Maluje element DataGridColumnStyle o określonym Graphicsnumerze , Rectangle, CurrencyManager, numer wiersza, kolor tła, kolor pierwszego planu i wyrównanie.

protected public:
 virtual 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 virtual 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);
abstract member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * System.Drawing.Brush * System.Drawing.Brush * bool -> unit
override this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * System.Drawing.Brush * System.Drawing.Brush * bool -> unit
Protected Friend Overridable 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

Kontrolka CurrencyManagerDataGrid , do którego należy kolumna.

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

Dotyczy