Class CheckBoxPainter
Represents the static class the contains the methods for painting the checkbox.
Inheritance
System.Object
CheckBoxPainter
Namespace: Syncfusion.WinForms.Core
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public static class CheckBoxPainter : Object
Methods
DrawCheckBox(Graphics, Rectangle, CheckState, CheckBoxStyleInfoBase)
Draws the check box for the cell.
Declaration
public static void DrawCheckBox(Graphics graphics, Rectangle checkBoxBounds, CheckState state, CheckBoxStyleInfoBase checkBoxStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | graphics | The System.Drawing.Graphics that used to draw the check box. |
| System.Drawing.Rectangle | checkBoxBounds | The bounds of the check box. |
| System.Windows.Forms.CheckState | state | The state of the check box. |
| CheckBoxStyleInfoBase | checkBoxStyle | The style for the check box. |