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.
Unfortunately, activation email could not send to your email. Please try again.

CheckBox''s Color

Thread ID:

Created:

Updated:

Platform:

Replies:

22352 Dec 10,2004 03:24 AM Dec 10,2004 09:04 AM Windows Forms 1
loading
Tags: GridControl
P.R.Anish
Asked On December 10, 2004 03:24 AM

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 09:04 AM

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.

CONFIRMATION

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.

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.

;