We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

CheckBox''s Color

Hi, I am trying to change the color of the checkbox in the datagrid, but it changes the backcolor of the checkbox, but still the inside area are white.. I want to change that color also. Could any one help me out..

1 Reply

AD Administrator Syncfusion Team December 10, 2004 02:04 PM UTC

There is no support for coloring a checkbox in our grid. Our grid draws the check box using ControlPaint.DrawCheckBox which does not support changing the color. If you use a themed operating system, then the grid can used the themed checkbox and that can give you some color. Other than that, you would have to derive your own cell control and do things yourself. If you own teh grid''s source code, you could use the sane code as teh grid odes, except swap out teh ControlPaint.DrawCheckBox call with some cod ethat draws the checkbox using color.

Live Chat Icon For mobile
Up arrow icon