DrawItemEventArgs Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe DrawItemEventArgs.
Surcharges
| Nom | Description |
|---|---|
| DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState) |
Initialise une nouvelle instance de la DrawItemEventArgs classe pour le contrôle spécifié avec la police, l’état, la surface à dessiner et les limites à dessiner. |
| DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, Color, Color) |
Initialise une nouvelle instance de la DrawItemEventArgs classe pour le contrôle spécifié avec la police, l’état, la couleur de premier plan, la couleur d’arrière-plan, la surface à dessiner et les limites à dessiner. |
DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
Initialise une nouvelle instance de la DrawItemEventArgs classe pour le contrôle spécifié avec la police, l’état, la surface à dessiner et les limites à dessiner.
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)
Paramètres
- index
- Int32
Valeur Control.ControlCollection d’index de l’élément en cours de dessin.
- state
- DrawItemState
Informations du DrawItemState contrôle.
S’applique à
DrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, Color, Color)
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
- Source:
- DrawItemEventArgs.cs
Initialise une nouvelle instance de la DrawItemEventArgs classe pour le contrôle spécifié avec la police, l’état, la couleur de premier plan, la couleur d’arrière-plan, la surface à dessiner et les limites à dessiner.
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)
Paramètres
- index
- Int32
Valeur Control.ControlCollection d’index de l’élément en cours de dessin.
- state
- DrawItemState
Informations du DrawItemState contrôle.