Table of Contents

Method DrawPushButton

Namespace
Alternet.Drawing
Assembly
Alternet.UI.dll

DrawPushButton(Control, Graphics, RectD, DrawFlags)

Draws blank button.

public void DrawPushButton(Control control, Graphics dc, RectD rect, WxControlPainterHandler.DrawFlags flags = DrawFlags.None)

Parameters

control Control

Control in which drawing will be performed.

dc Graphics

Drawing context.

rect RectD

Rectangle in which control is painted.

flags WxControlPainterHandler.DrawFlags

Drawing flags.

Remarks

The flags parameter may support the Pressed, IsDefault and Current.