Method DrawCheckBox
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
GraphicsGraphics used for painting the checkbox.
control
ControlControl where checkbox will be painted.
rect
RectDRectangle where checkbox is painted.
checkState
CheckStateCheck state.
controlState
VisualControlStateControl part state.