This documentation is archived and is not being maintained.

MeasureItemEventArgs Members

Provides data for the MeasureItem event of the ListBox, ComboBox, CheckedListBox, and MenuItem controls.

The MeasureItemEventArgs type exposes the following members.

Public method MeasureItemEventArgs Overloaded. Initializes a new instance of the MeasureItemEventArgs class.

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.)

Public property Graphics Gets the Graphics object to measure against.
Public property Index Gets the index of the item for which the height and width is needed.
Public property ItemHeight Gets or sets the height of the item specified by the Index.
Public property ItemWidth Gets or sets the width of the item specified by the Index.