Table of Contents

Constructor MeasureItemEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

MeasureItemEventArgs(Graphics, int, int)

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

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

Parameters

graphics Graphics

The Graphics object being written to.

index int

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

itemHeight int

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

MeasureItemEventArgs(Graphics, int)

Initializes a new instance of the MeasureItemEventArgs class.

public MeasureItemEventArgs(Graphics graphics, int index)

Parameters

graphics Graphics

The Graphics object being written to.

index int

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