Język

DrawItemEventArgs Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy DrawItemEventArgs.

Przeciążenia

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

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

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)

Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs

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

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

Rectangle Granice do rysowania w obrębie.

index
Int32

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

state
DrawItemState

Informacje o kontrolce DrawItemState .

Dotyczy

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

Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs
Źródło:
DrawItemEventArgs.cs

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

Rectangle Granice do rysowania w obrębie.

index
Int32

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

state
DrawItemState

Informacje o kontrolce DrawItemState .

foreColor
Color

Pierwszy plan Color do rysowania kontrolki za pomocą polecenia .

backColor
Color

Tło do Color narysowania kontrolki za pomocą polecenia .

Dotyczy