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
canvasGraphicsGraphics used for painting the checkbox.
controlAbstractControlControl where checkbox will be painted.
rectRectDRectangle where checkbox is painted.
checkStateCheckStateCheck state.
controlStateVisualControlStateControl part state.