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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CheckBox''s Color

Thread ID:





22352 Dec 10,2004 08:24 AM UTC Dec 10,2004 02:04 PM UTC WinForms 1
Tags: GridControl
Asked On December 10, 2004 08:24 AM UTC

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..

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon