Class CheckBoxPainter
Represents the static class the contains the methods for painting the checkbox.
Inheritance
System.Object
CheckBoxPainter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.Core
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public static class CheckBoxPainter
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. |