DrawItemEventArgs Constructeurs

Définition

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

graphics
Graphics

Surface Graphics sur laquelle dessiner.

font
Font

À Font utiliser, généralement la propriété du Font contrôle parent.

rect
Rectangle

Limites Rectangle à dessiner.

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

graphics
Graphics

Surface Graphics sur laquelle dessiner.

font
Font

À Font utiliser, généralement la propriété du Font contrôle parent.

rect
Rectangle

Limites Rectangle à dessiner.

index
Int32

Valeur Control.ControlCollection d’index de l’élément en cours de dessin.

state
DrawItemState

Informations du DrawItemState contrôle.

foreColor
Color

Premier plan Color avec lequel dessiner le contrôle.

backColor
Color

Arrière-plan Color avec utilisant le contrôle.

S’applique à