DrawItemEventArgs Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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
- 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
- index
- Int32
O Control.ControlCollection valor do índice do item que está a ser sorteado.
- state
- DrawItemState
A informação do DrawItemState controlo.