DrawItemEventArgs Construtores

Definição

Inicializa uma nova instância da DrawItemEventArgs classe.

Sobrecargas

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

Inicializa uma nova instância da DrawItemEventArgs classe para o controlo especificado com a fonte, estado, superfície para desenhar e os limites para desenhar dentro dela.

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

Inicializa uma nova instância da DrawItemEventArgs classe para o controlo especificado com a fonte especificada, estado, cor de primeiro plano, cor de fundo, superfície para desenhar e os limites para desenhar dentro dela.

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 controlo especificado com a fonte, estado, superfície para desenhar e os limites para desenhar dentro dela.

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 onde desenhar.

font
Font

O Font para usar, normalmente pertence ao Font controlo principal.

rect
Rectangle

Os Rectangle limites a desenhar dentro deles.

index
Int32

O Control.ControlCollection valor do índice do item que está a ser sorteado.

state
DrawItemState

A informação do DrawItemState controlo.

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 controlo especificado com a fonte especificada, estado, cor de primeiro plano, cor de fundo, superfície para desenhar e os limites para desenhar dentro dela.

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 onde desenhar.

font
Font

O Font para usar, normalmente pertence ao Font controlo principal.

rect
Rectangle

Os Rectangle limites a desenhar dentro deles.

index
Int32

O Control.ControlCollection valor do índice do item que está a ser sorteado.

state
DrawItemState

A informação do DrawItemState controlo.

foreColor
Color

O primeiro plano Color para desenhar o controlo.

backColor
Color

O fundo Color para desenhar o controlo.

Aplica-se a