Table of Contents

Method DrawCheckBox

Namespace
Alternet.Drawing
Assembly
Alternet.UI.dll

DrawCheckBox(Control, Graphics, RectD, CheckState, VisualControlState)

Draws checkbox.

public void DrawCheckBox(Control control, Graphics canvas, RectD rect, CheckState checkState, VisualControlState controlState)

Parameters

control Control

Control where checkbox will be painted.

canvas Graphics

Graphics used for painting the checkbox.

rect RectD

Rectangle where checkbox is painted.

checkState CheckState

Check state.

controlState VisualControlState

Control part state.

DrawCheckBox(Control, Graphics, RectD, DrawFlags)

Draws check button.

public void DrawCheckBox(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 Checked, Undetermined and Current.