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.
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?
5 Answers, 1 is accepted
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
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.
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.
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.
the Telerik team
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,
the Telerik team