Table of Contents

Method DrawCheckBox

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

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

Draws checkbox.

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

Parameters

canvas Graphics

Graphics used for painting the checkbox.

control Control

Control where checkbox will be painted.

rect RectD

Rectangle where checkbox is painted.

checkState CheckState

Check state.

controlState VisualControlState

Control part state.