System.Windows.Forms 1.0.5000.0 2.0.0.0 System.EventArgs The DrawItem event is raised by owner draw controls, such as the and controls. It contains all the information that is needed for the user to paint the specified item, including the item index, the , and the on which the drawing should be done. Provides data for the DrawItem event. Constructor To be added. Initializes a new instance of the class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within. The surface on which to draw. The to use, usually the parent control's property. The bounds to draw within. The index value of the item that is being drawn. The control's information. 1.0.5000.0 2.0.0.0 Constructor To be added. Initializes a new instance of the class for the specified control with the specified font, state, foreground color, background color, surface to draw on, and the bounds to draw within. The surface on which to draw. The to use, usually the parent control's property. The bounds to draw within. The index value of the item that is being drawn. The control's information. The foreground to draw the control with. The background to draw the control with. 1.0.5000.0 2.0.0.0 Property System.Drawing.Color To be added. If the item's state is , the is set to . If the item's state is not , the property is set to . Gets the background color of the item that is being drawn. 1.0.5000.0 2.0.0.0 Property System.Drawing.Rectangle To be added. To be added. Gets the rectangle that represents the bounds of the item that is being drawn. 1.0.5000.0 2.0.0.0 Method System.Void If the item being drawn is , the background is drawn with the text highlighted. Draws the background within the bounds specified in the constructor and with the appropriate color. 1.0.5000.0 2.0.0.0 Method System.Void If the item being drawn has , the focus rectangle is drawn. Draws a focus rectangle within the bounds specified in the constructor. 1.0.5000.0 2.0.0.0 Property System.Drawing.Font To be added. A suggested , usually the property of the parent control. Gets the font that is assigned to the item being drawn. 1.0.5000.0 2.0.0.0 Property System.Drawing.Color To be added. If the item's state is , the is set to . If the item's state is not , the property is set to . Gets the foreground color of the of the item being drawn. 1.0.5000.0 2.0.0.0 Property System.Drawing.Graphics To be added. To be added. Gets the graphics surface to draw the item on. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added. This property returns the value of the item being drawn in the . This property can return -1 if items were removed from the list. Gets the index value of the item that is being drawn. 1.0.5000.0 2.0.0.0 Property System.Windows.Forms.DrawItemState To be added. This property value can be a combination of the enumeration members. The members can be combined by using bitwise operators. Gets the state of the item being drawn. 1.0.5000.0 2.0.0.0