Table of Contents

Method PaintButton

Namespace
Alternet.Editor.Dialogs.VsControls.Painting
Assembly
Alternet.Editor.v9.dll

PaintButton(ControlState, Image, string, Graphics, Rectangle)

Paints button with specified parameters.

public void PaintButton(ControlState controlState, Image image, string text, Graphics g, Rectangle bounds)

Parameters

controlState ControlState

The state of the button.

image Image

The image associated with the button.

text string

The text associated with the button.

g Graphics

The Graphics object to draw on.

bounds Rectangle

The drawing area.