Method DrawCheckBox
DrawCheckBox(Graphics, AbstractControl, RectD, CheckState, VisualControlState)
Draws checkbox.
public static void DrawCheckBox(this Graphics canvas, AbstractControl control, RectD rect, CheckState checkState, VisualControlState controlState)
Parameters
canvas
GraphicsGraphics used for painting the checkbox.
control
AbstractControlControl where checkbox will be painted.
rect
RectDRectangle where checkbox is painted.
checkState
CheckStateCheck state.
controlState
VisualControlStateControl part state.