DrawItemEventArgs Constructor

DrawItemEventArgs Constructor

 

Initializes a new instance of the DrawItemEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState)

Initializes a new instance of the DrawItemEventArgs class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within.

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

Initializes a new instance of the DrawItemEventArgs class for the specified control with the specified font, state, foreground color, background color, surface to draw on, and the bounds to draw within.

Return to top
Show:
© 2016 Microsoft