MeasureItemEventArgs Class
Provides data for the MeasureItem event of the ListBox, ComboBox, CheckedListBox, and MenuItem controls.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | MeasureItemEventArgs(Graphics, Int32) | Initializes a new instance of the MeasureItemEventArgs class. |
![]() | MeasureItemEventArgs(Graphics, Int32, Int32) | Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This event is sent when the OwnerDraw property of ListBox, ComboBox, CheckedListBox, or MenuItem is set to true. It is used to tell the drawing function how to size an item.
For information about the event model, see Handling and Raising Events.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


