The members of System.Windows.Forms.DrawItemEventArgs are listed below.
See Also: Inherited members from System.EventArgs
Initializes a new instance of the System.Windows.Forms.DrawItemEventArgs class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within. | ||
Initializes a new instance of the System.Windows.Forms.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. |
[read-only] | BackColor | System.Drawing.Color.
Gets the background color of the item that is being drawn. |
[read-only] | Bounds | System.Drawing.Rectangle.
Gets the rectangle that represents the bounds of the item that is being drawn. |
[read-only] | Font | System.Drawing.Font.
Gets the font that is assigned to the item being drawn. |
[read-only] | ForeColor | System.Drawing.Color.
Gets the foreground color of the of the item being drawn. |
[read-only] | Graphics | System.Drawing.Graphics.
Gets the graphics surface to draw the item on. |
[read-only] | Index | int.
Gets the index value of the item that is being drawn. |
[read-only] | State | DrawItemState.
Gets the state of the item being drawn. |
DrawBackground()
| ||
DrawFocusRectangle()
|