Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MeasureItemEventArgs Constructor (Graphics^, Int32, Int32)

 

Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
MeasureItemEventArgs(
	Graphics^ graphics,
	int index,
	int itemHeight
)

Parameters

graphics
Type: System.Drawing::Graphics^

The Graphics object being written to.

index
Type: System::Int32

The index of the item for which you need the height or width.

itemHeight
Type: System::Int32

The height of the item to measure relative to the graphics object.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft