Table of Contents

Method DrawPushButton

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

DrawPushButton(IPainter, Rectangle, bool, bool)

Draws button within the specified rectangle with current theme.

public static void DrawPushButton(IPainter painter, Rectangle rect, bool pressed, bool hot)

Parameters

painter IPainter

Specifies IPainter object used to draw text and graphic primitives.

rect Rectangle

The Rectangle that represents the dimensions of the control.

pressed bool

Specifies if the button is pressed.

hot bool

Specifies if the button is hot.