Table of Contents

Method Reset

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

Reset(Graphics, int, float)

Assigns the specified graphics context, item index, and item height to the current instance for subsequent drawing operations.

public virtual void Reset(Graphics graphics, int index, float itemHeight)

Parameters

graphics Graphics

The graphics context to use for rendering. Cannot be null.

index int

The zero-based index of the item to assign. Must be greater than or equal to 0.

itemHeight float

The height, in pixels, of the item to assign. Must be greater than 0.

Reset(Graphics, int)

Assigns the specified graphics context and item index to the current instance for subsequent drawing operations.

public virtual void Reset(Graphics graphics, int index = 0)

Parameters

graphics Graphics

The graphics context to use for rendering. Cannot be null.

index int

The zero-based index of the item to assign. Must be greater than or equal to 0.