DataGridBoolColumn.Paint Método

Definição

Pinta uma coluna.Paints a column.

Sobrecargas

Paint(Graphics, Rectangle, CurrencyManager, Int32)

Desenha o DataGridBoolColumn com o determinado Graphics, Rectangle e o número de linha.Draws the DataGridBoolColumn with the given Graphics, Rectangle and row number.

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

Desenha o DataGridBoolColumn com o determinado Graphics, Rectangle, número de linha e configurações de alinhamento.Draws the DataGridBoolColumn with the given Graphics, Rectangle, row number, and alignment settings.

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

Desenha o DataGridBoolColumn com o determinado Graphics, Rectangle, número de linha, Brush e Color.Draws the DataGridBoolColumn with the given Graphics, Rectangle, row number, Brush, and Color.

Paint(Graphics, Rectangle, CurrencyManager, Int32)

Desenha o DataGridBoolColumn com o determinado Graphics, Rectangle e o número de linha.Draws the DataGridBoolColumn with the given Graphics, Rectangle and row number.

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)

Parâmetros

g
Graphics

O Graphics para o qual desenhar.The Graphics to draw to.

bounds
Rectangle

O Rectangle delimitador no qual pintar.The bounding Rectangle to paint into.

source
CurrencyManager

O CurrencyManager da coluna.The CurrencyManager of the column.

rowNum
Int32

O número da linha referenciada nos dados subjacentes.The number of the row referred to in the underlying data.

Comentários

Esse método pinta o plano de fundo com a cor do plano de fundo no objeto gráfico passado.This method paints the background with the background color in the graphics object passed in.

Aplica-se a

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

Desenha o DataGridBoolColumn com o determinado Graphics, Rectangle, número de linha e configurações de alinhamento.Draws the DataGridBoolColumn with the given Graphics, Rectangle, row number, and alignment settings.

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)

Parâmetros

g
Graphics

O Graphics para o qual desenhar.The Graphics to draw to.

bounds
Rectangle

O Rectangle delimitador no qual pintar.The bounding Rectangle to paint into.

source
CurrencyManager

O CurrencyManager da coluna.The CurrencyManager of the column.

rowNum
Int32

O número da linha na tabela de dados subjacente sendo referenciada.The number of the row in the underlying data table being referred to.

alignToRight
Boolean

Um valor que indica se o conteúdo deve ser alinhado à direita.A value indicating whether to align the content to the right. true se o conteúdo for alinhado à direita, caso contrário, false.true if the content is aligned to the right, otherwise, false.

Aplica-se a

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

Desenha o DataGridBoolColumn com o determinado Graphics, Rectangle, número de linha, Brush e Color.Draws the DataGridBoolColumn with the given Graphics, Rectangle, row number, Brush, and 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)

Parâmetros

g
Graphics

O Graphics para o qual desenhar.The Graphics to draw to.

bounds
Rectangle

O Rectangle delimitador no qual pintar.The bounding Rectangle to paint into.

source
CurrencyManager

O CurrencyManager da coluna.The CurrencyManager of the column.

rowNum
Int32

O número da linha na tabela de dados subjacente sendo referenciada.The number of the row in the underlying data table being referred to.

backBrush
Brush

O Brush usado para pintar a cor da tela de fundo.A Brush used to paint the background color.

foreBrush
Brush

O Color usado para pintar a cor de primeiro plano.A Color used to paint the foreground color.

alignToRight
Boolean

Um valor que indica se o conteúdo deve ser alinhado à direita.A value indicating whether to align the content to the right. true se o conteúdo for alinhado à direita, caso contrário, false.true if the content is aligned to the right, otherwise, false.

Comentários

Pinta a caixa de seleção na coluna.Paints the check box in the column.

Confira também

Aplica-se a