DrawItemEventArgs Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
- 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
- index
- Int32
O Control.ControlCollection valor do índice do item que está sendo desenhado.
- state
- DrawItemState
As informações do DrawItemState controle.