Method Reset
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
graphicsGraphicsThe graphics context to use for rendering. Cannot be null.
indexintThe zero-based index of the item to assign. Must be greater than or equal to 0.
itemHeightfloatThe 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)