DrawItemEventArgs Construtores

Definição

Inicializa uma nova instância da classe DrawItemEventArgs.

Sobrecargas

Nome Description
DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)

Inicializa uma nova instância da DrawItemEventArgs classe para o controle especificado com a fonte, o estado, a superfície especificada para desenhar e os limites a serem desenhados.

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, Color, Color)

Inicializa uma nova instância da DrawItemEventArgs classe para o controle especificado com a fonte, o estado, a cor do primeiro plano, a cor da tela de fundo, a superfície a ser desenhada e os limites a serem desenhados.

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)

Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs

Inicializa uma nova instância da DrawItemEventArgs classe para o controle especificado com a fonte, o estado, a superfície especificada para desenhar e os limites a serem desenhados.

public:
 DrawItemEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Font ^ font, System::Drawing::Rectangle rect, int index, System::Windows::Forms::DrawItemState state);
public DrawItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state);
public DrawItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Font? font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state);
new System.Windows.Forms.DrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState -> System.Windows.Forms.DrawItemEventArgs
Public Sub New (graphics As Graphics, font As Font, rect As Rectangle, index As Integer, state As DrawItemState)

Parâmetros

graphics
Graphics

A Graphics superfície na qual desenhar.

font
Font

A Font propriedade a ser usada, geralmente, do Font controle pai.

rect
Rectangle

Os Rectangle limites a serem desenhados.

index
Int32

O Control.ControlCollection valor do índice do item que está sendo desenhado.

state
DrawItemState

As informações do DrawItemState controle.

Aplica-se a

DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, Color, Color)

Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs
Origem:
DrawItemEventArgs.cs

Inicializa uma nova instância da DrawItemEventArgs classe para o controle especificado com a fonte, o estado, a cor do primeiro plano, a cor da tela de fundo, a superfície a ser desenhada e os limites a serem desenhados.

public:
 DrawItemEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Font ^ font, System::Drawing::Rectangle rect, int index, System::Windows::Forms::DrawItemState state, System::Drawing::Color foreColor, System::Drawing::Color backColor);
public DrawItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state, System.Drawing.Color foreColor, System.Drawing.Color backColor);
public DrawItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Font? font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state, System.Drawing.Color foreColor, System.Drawing.Color backColor);
new System.Windows.Forms.DrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState * System.Drawing.Color * System.Drawing.Color -> System.Windows.Forms.DrawItemEventArgs
Public Sub New (graphics As Graphics, font As Font, rect As Rectangle, index As Integer, state As DrawItemState, foreColor As Color, backColor As Color)

Parâmetros

graphics
Graphics

A Graphics superfície na qual desenhar.

font
Font

A Font propriedade a ser usada, geralmente, do Font controle pai.

rect
Rectangle

Os Rectangle limites a serem desenhados.

index
Int32

O Control.ControlCollection valor do índice do item que está sendo desenhado.

state
DrawItemState

As informações do DrawItemState controle.

foreColor
Color

O primeiro plano Color com o qual desenhar o controle.

backColor
Color

A tela de fundo Color com a qual desenhar o controle.

Aplica-se a