DrawItemEventArgs Constructores

Definición

Inicializa una nueva instancia de la clase DrawItemEventArgs.

Sobrecargas

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

Inicializa una nueva instancia de la DrawItemEventArgs clase para el control especificado con la fuente, el estado, la superficie especificada para dibujar y los límites que se van a dibujar dentro.

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

Inicializa una nueva instancia de la DrawItemEventArgs clase para el control especificado con la fuente, el estado, el color de primer plano, el color de fondo, la superficie en la que dibujar y los límites que se van a dibujar.

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

Inicializa una nueva instancia de la DrawItemEventArgs clase para el control especificado con la fuente, el estado, la superficie especificada para dibujar y los límites que se van a dibujar dentro.

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

Superficie Graphics en la que se va a dibujar.

font
Font

que Font se va a usar, normalmente la propiedad del Font control primario.

rect
Rectangle

Límites Rectangle que se van a dibujar.

index
Int32

Valor Control.ControlCollection de índice del elemento que se está dibujando.

state
DrawItemState

Información del DrawItemState control.

Se aplica a

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

Inicializa una nueva instancia de la DrawItemEventArgs clase para el control especificado con la fuente, el estado, el color de primer plano, el color de fondo, la superficie en la que dibujar y los límites que se van a dibujar.

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

Superficie Graphics en la que se va a dibujar.

font
Font

que Font se va a usar, normalmente la propiedad del Font control primario.

rect
Rectangle

Límites Rectangle que se van a dibujar.

index
Int32

Valor Control.ControlCollection de índice del elemento que se está dibujando.

state
DrawItemState

Información del DrawItemState control.

foreColor
Color

Primer plano Color con el que dibujar el control.

backColor
Color

Fondo Color con el que dibujar el control.

Se aplica a