Table of Contents

Constructor ToolStripRenderEventArgs

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

ToolStripRenderEventArgs(Graphics, AbstractControl)

Initializes a new instance of the ToolStripRenderEventArgs class for the specified control and using the specified Graphics.

public ToolStripRenderEventArgs(Graphics g, AbstractControl toolStrip)

Parameters

g Graphics

The Graphics to use for painting.

toolStrip AbstractControl

The control to paint.

ToolStripRenderEventArgs(Graphics, Control, RectD, Color)

Initializes a new instance of the ToolStripRenderEventArgs class using the specified parameters.

public ToolStripRenderEventArgs(Graphics g, Control toolStrip, RectD affectedBounds, Color backColor)

Parameters

g Graphics

The Graphics to use for painting.

toolStrip Control

The control to paint.

affectedBounds RectD

The RectD representing the bounds of the area to be painted.

backColor Color

The Color that the background of the control is painted with.