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: