Export (0) Print
Expand All

DrawItemEventArgs Members

Provides data for the DrawItem event.

The DrawItemEventArgs type exposes the following members.

  NameDescription
Public method DrawItemEventArgs Overloaded. Initializes a new instance of the DrawItemEventArgs class.
Top

  NameDescription
Public method DrawBackground Draws the background within the bounds specified in the DrawItemEventArgs constructor and with the appropriate color.
Public method DrawFocusRectangle Draws a focus rectangle within the bounds specified in the DrawItemEventArgs constructor.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property BackColor Gets the background color of the item that is being drawn.
Public property Bounds Gets the rectangle that represents the bounds of the item that is being drawn.
Public property Font Gets the font assigned to the item being drawn.
Public property ForeColor Gets the foreground color of the of the item being drawn.
Public property Graphics Gets the graphics surface to draw the item on.
Public property Index Gets the index value of the item that is being drawn.
Public property State Gets the state of the item being drawn.
Top

Community Additions

ADD
Show:
© 2014 Microsoft