Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft