Export (0) Print
Expand All

MeasureItemEventArgs Members

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

The following tables list the members exposed by the MeasureItemEventArgs type.

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

  Name Description
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.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (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)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions

© 2014 Microsoft