Method DrawCheckBox
DrawCheckBox(Control, Graphics, RectD, CheckState, VisualControlState)
Draws checkbox.
public void DrawCheckBox(Control control, Graphics canvas, RectD rect, CheckState checkState, VisualControlState controlState)
Parameters
control
ControlControl where checkbox will be painted.
canvas
GraphicsGraphics used for painting the checkbox.
rect
RectDRectangle where checkbox is painted.
checkState
CheckStateCheck state.
controlState
VisualControlStateControl part state.
DrawCheckBox(Control, Graphics, RectD, DrawFlags)
Draws check button.
public void DrawCheckBox(Control control, Graphics dc, RectD rect, WxControlPainterHandler.DrawFlags flags = DrawFlags.None)
Parameters
control
ControlControl in which drawing will be performed.
dc
GraphicsDrawing context.
rect
RectDRectangle in which control is painted.
flags
WxControlPainterHandler.DrawFlagsDrawing flags.
Remarks
The flags parameter may support the Checked, Undetermined and Current.