DrawItemEventArgs Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy DrawItemEventArgs.

Przeciążenia

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

Inicjuje DrawItemEventArgs nowe wystąpienie klasy dla określonej kontrolki z określoną czcionką, stanem, powierzchnią do rysowania i granicami do narysowania.

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

Inicjuje nowe wystąpienie DrawItemEventArgs klasy dla określonej kontrolki z określoną czcionką, stanem, kolorem pierwszego planu, kolorem tła, powierzchnią do narysowania i granicami do narysowania.

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

Inicjuje DrawItemEventArgs nowe wystąpienie klasy dla określonej kontrolki z określoną czcionką, stanem, powierzchnią do rysowania i granicami do narysowania.

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)

Parametry

graphics
Graphics

Powierzchnia Graphics , na której ma być rysowanie.

font
Font

Do Font użycia, zwykle właściwość kontrolki nadrzędnej Font .

rect
Rectangle

Granice Rectangle do rysowania w obrębie.

index
Int32

Control.ControlCollection Wartość indeksu elementu, który jest rysowany.

state
DrawItemState

Informacje dotyczące kontrolki DrawItemState .

Dotyczy

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

Inicjuje nowe wystąpienie DrawItemEventArgs klasy dla określonej kontrolki z określoną czcionką, stanem, kolorem pierwszego planu, kolorem tła, powierzchnią do narysowania i granicami do narysowania.

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)

Parametry

graphics
Graphics

Powierzchnia Graphics , na której ma być rysowanie.

font
Font

Do Font użycia, zwykle właściwość kontrolki nadrzędnej Font .

rect
Rectangle

Granice Rectangle do rysowania w obrębie.

index
Int32

Control.ControlCollection Wartość indeksu elementu, który jest rysowany.

state
DrawItemState

Informacje dotyczące kontrolki DrawItemState .

foreColor
Color

Pierwszy plan Color do narysowania kontrolki za pomocą.

backColor
Color

Tło Color do narysowania kontrolki za pomocą.

Dotyczy