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
- canvasGraphics
- Graphics used for painting the checkbox. 
- controlAbstractControl
- Control where checkbox will be painted. 
- rectRectD
- Rectangle where checkbox is painted. 
- checkStateCheckState
- Check state. 
- controlStateVisualControlState
- Control part state.