System.Windows.Forms
1.0.5000.0
2.0.0.0
System.EventArgs
This event is sent when the OwnerDraw property of , , , or 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>].
Provides data for the MeasureItem event of the , , , and controls.
Constructor
To be added.
Initializes a new instance of the class.
The object being written to.
The index of the item for which you need the height or width.
1.0.5000.0
2.0.0.0
Constructor
To be added.
Initializes a new instance of the class providing a parameter for the item height.
The object being written to.
The index of the item for which you need the height or width.
The height of the item to measure relative to the object.
1.0.5000.0
2.0.0.0
Property
System.Drawing.Graphics
To be added.
You use a object to determine the scale to use when setting the and . Different types of graphics objects can have different scales, such as the difference in measurement scale between a monitor screen and a printer.
Gets the object to measure against.
1.0.5000.0
2.0.0.0
Property
System.Int32
To be added.
To be added.
Gets the index of the item for which the height and width is needed.
1.0.5000.0
2.0.0.0
Property
System.Int32
To be added.
To be added.
Gets or sets the height of the item specified by the .
1.0.5000.0
2.0.0.0
Property
System.Int32
To be added.
This member is only used by . You use this property to ensure the menu is at least as wide as the widest menu item in the menu list.
Gets or sets the width of the item specified by the .
1.0.5000.0
2.0.0.0