Method DrawCheckBox
DrawCheckBox(AbstractControl, Graphics, RectD, CheckState, VisualControlState)
Draws checkbox.
public void DrawCheckBox(AbstractControl control, Graphics canvas, RectD rect, CheckState checkState, VisualControlState controlState)
Parameters
controlAbstractControlControl where checkbox will be painted.
canvasGraphicsGraphics used for painting the checkbox.
rectRectDRectangle where checkbox is painted.
checkStateCheckStateCheck state.
controlStateVisualControlStateControl part state.
DrawCheckBox(AbstractControl, Graphics, RectD, DrawFlags)
Draws check button.
public void DrawCheckBox(AbstractControl control, Graphics dc, RectD rect, WxControlPainterHandler.DrawFlags flags = DrawFlags.None)
Parameters
controlAbstractControlControl in which drawing will be performed.
dcGraphicsDrawing context.
rectRectDRectangle in which control is painted.
flagsWxControlPainterHandler.DrawFlagsDrawing flags.
Remarks
The flags parameter may support the Checked, Undetermined and Current.