DrawItemEventArgs Oluşturucular

Tanım

DrawItemEventArgs sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

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

Belirtilen denetim için sınıfın DrawItemEventArgs yeni bir örneğini belirtilen yazı tipi, durum, çizecek yüzey ve içinde çizecek sınırlar ile başlatır.

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

Belirtilen denetim için sınıfın DrawItemEventArgs yeni bir örneğini belirtilen yazı tipi, durum, ön plan rengi, arka plan rengi, çizecek yüzey ve içinde çizecek sınırlar ile başlatır.

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

Belirtilen denetim için sınıfın DrawItemEventArgs yeni bir örneğini belirtilen yazı tipi, durum, çizecek yüzey ve içinde çizecek sınırlar ile başlatır.

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)

Parametreler

graphics
Graphics

Üzerine Graphics çizilen yüzey.

font
Font

Font kullanılacak, genellikle üst denetimin Font özelliğidir.

rect
Rectangle

İçinde Rectangle çizecek sınırlar.

index
Int32

Çizilmekte Control.ControlCollection olan öğenin dizin değeri.

state
DrawItemState

Denetimin DrawItemState bilgileri.

Şunlara uygulanır

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

Belirtilen denetim için sınıfın DrawItemEventArgs yeni bir örneğini belirtilen yazı tipi, durum, ön plan rengi, arka plan rengi, çizecek yüzey ve içinde çizecek sınırlar ile başlatır.

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)

Parametreler

graphics
Graphics

Üzerine Graphics çizilen yüzey.

font
Font

Font kullanılacak, genellikle üst denetimin Font özelliğidir.

rect
Rectangle

İçinde Rectangle çizecek sınırlar.

index
Int32

Çizilmekte Control.ControlCollection olan öğenin dizin değeri.

state
DrawItemState

Denetimin DrawItemState bilgileri.

foreColor
Color

Denetimi çizmek için ön plan Color .

backColor
Color

Denetimi çizmek için arka plan Color .

Şunlara uygulanır