This is a migrated thread and some comments may be shown as answers.

Changing the Indeterminate node image

5 Answers 116 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Edward Talbot
Top achievements
Rank 1
Edward Talbot asked on 11 Jan 2011, 04:36 PM
Hi all,

I have a TreeView which is in TriState mode, which works fine but for one cosmetic issue.  On every other TreeView I've used, any node which is in the "Indeterminate" state is filled-in so it looks like a solid box.

e.g. http://www.codeproject.com/KB/tree/Three_State_TreeView/ThreeStateTreeView2.png

However, in the Telerik TreeView, the node is a greyed-out tickbox.  To my eyes though, this doesn't look distinctive enough.  Can I make the Telerik TreeView achieve the same effect?

Thanks
Eddie

5 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 11 Jan 2011, 05:02 PM
Hello,

As far as I'm aware, this cannot be changed at the moment. The nodes contain an options element which is the checkbox, but this is private. There will be a major update to the RadTreeView in Q1 2011 which is due out the first half of March. You can see the rodmap here.
Hope that helps
Richard
0
Edward Talbot
Top achievements
Rank 1
answered on 11 Jan 2011, 05:23 PM
Thanks Richard.

Although the standard Microsoft TreeView does not support TriState out-of-the-box, it does supply a StateImageList property, and from there you can customise it to perform as a TriState treeview.  This has been my solution so far.

The .NET Framework actually supplies the images in the VisualStyles.VisualStyleElement.Button.CheckBox.MixedNormal area of System.Windows.Forms.

It is disappointing that no similar customization exists in the Telerik alternative, despite the large amount of theming available in other ways.  However I hope you can put something in the next release.

Regards,
Eddie
0
Richard Slade
Top achievements
Rank 2
answered on 11 Jan 2011, 05:29 PM
Hi Eddie,

Sadly, I don't have any control over the release (I'm just another forum user like yourself), but from the roadmap, I see that the RadTreeView is going to be converted to use the new UI Virtualization data layer, meaning that it will be much easier to customise, just like the RadGridView. In the meantime, if I find a way of doing it however, I'll be sure to let you know.

regards,
Richard
0
Julian Benkov
Telerik team
answered on 14 Jan 2011, 09:02 AM
Hello guys,

This feature is currently not supported by the RadTreeView component. As Richard said, we are currently refactoring RadTreeView planning to release the updated component in Q1 2011. We will include this functionality and the possibility to customize the different states of the checkbox when the control is in this mode.

Thank for your comments and feedback.

All the best,
Julian Benkov
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
Accepted
Stefan
Telerik team
answered on 18 Mar 2011, 08:32 AM
Hi guys,

I am happy to inform you that in Q1 2011 we introduced a major upgrade of RadTreeView control, which is now virtualized and fully customizable. Feel free to download the latest release and try it out.
For more information about this release, please refer to this blog post.
 
All the best,
Stefan
the Telerik team
Tags
Treeview
Asked by
Edward Talbot
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Edward Talbot
Top achievements
Rank 1
Julian Benkov
Telerik team
Stefan
Telerik team
Share this question
or