System.Windows.Forms.MeasureItemEventArgs Class

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

See Also: MeasureItemEventArgs Members

Syntax

public class MeasureItemEventArgs : EventArgs

Remarks

This event is sent when the OwnerDraw property of System.Windows.Forms.ListBox, System.Windows.Forms.ComboBox, System.Windows.Forms.CheckedListBox, or System.Windows.Forms.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 [<topic://cpconEventsDelegates>].

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0