Changing checkbox display in TreeViewAdv

I''m using the TreeViewAdv control with the checkboxes visible. I would like to be able to change the display of the checkboxes to better match the XP defaults. For example, the regular Windows.Forms CheckBox control has a green check and a green square for the third state. A checkbox in the TreeViewAdv is black with a grayed-out black check for the third state. How can I modify the color and/or display of the controls? Thanks!

7 Replies

DT Deepa TS Syncfusion Team April 12, 2006 06:15 AM UTC

Hi Ddearing, Sorry for the inconvenience caused. I am afraid,it is not possible to modify the color of the checkBox for the third state in the current implementation of the TreeViewAdv.However this is a nice feature to implement for the control. So I will consult with the Development team and add a Feature Request for this issue. And also I will update you regarding this Feature request at the earliest. Thanks for using Syncfusion products. Regards, Deepa.


DD David Dearing April 12, 2006 07:41 PM UTC

Thanks for the quick response. Is it possible to just change the color of the regular check in the checkbox? My guess is that the answer is the same (no), but I didn''t mean to specify my question for only the third check state. Thanks again.


DT Deepa TS Syncfusion Team April 13, 2006 01:22 PM UTC

Hi Ddearing , My sincere apologies for the inconvenience caused. I am afraid,the regular checkbox check color cannot be changed.But I have created a feature request for changing the color of the checkBox. We will try our best to implement this at the earliest. You can track the status of feature here. Feature Request #892 - Add property to change the color of the checkBox . We will inform you as soon as this feature request is addressed. Thanks for your interest in Syncfusion products. Kind Regards, Deepa.


RI Richard December 22, 2011 03:47 PM UTC

Hi,

Google directed me to this post old post.

In v8 of the tools suite, is it possible to have a parent checkbox display a square as the intermediate state?

Thanks.

---
Richard



AA Arun A Syncfusion Team December 23, 2011 04:51 AM UTC

Hi Richard,

Thanks for the update.

The following code snippet would help you in achieving your requirement,

treeNodeAdv7.CheckState = System.Windows.Forms.CheckState.Indeterminate;

For more details about the this,please refer the following links.

http://help.syncfusion.com/ug_92/User%20Interface/Windows%20Forms/Tools/default.htm?turl=Documents%2F311313checkboxandoptionbuttons.htm

Please let us know if you have any concerns.

We are glad to help you on this.

Regards,
Arun A.



RI Richard December 23, 2011 02:07 PM UTC

Hi Arun,

Thanks for your reply. Although I don't think that page demonstrates what I'm looking for. I'm hoping I can get Indeterminate checkboxes in a TreeViewAdv to display as a solid square. Similar to the regurla WinForms CheckBox.

See the attached screenshot for an example.

---
Richard



checkbox_states_74317f86.zip


AA Arun A Syncfusion Team December 26, 2011 06:42 AM UTC

Hi Richard,

Thanks for the update.

Syncfusion treeview currently working style is given in the below link

http://help.syncfusion.com/ug_92/User%20Interface/Windows%20Forms/Tools/ImagesExt/image18_1104.png

Please let us know if you have any concerns.

Regards,
Arun A.


Loader.
Up arrow icon