I need to make a budget application on winform, and the user wants a horizontal tree navigation like a show in the image, Is there a control with that functionality ?
Thank you for your post on this matter. Unfortunately, the Windows Forms toolset does not have a control like what is shown in your attached image. The closest thing would be the UltraTree, but this only navigates vertically, and not horizontally. Perhaps you could achieve this using multiple UltraTree instances, although making the horizontal connection between the two trees and aligning them correctly may prove rather difficult.
There is a control in our WPF toolset that perhaps you could host in Windows Forms that might allow you to achieve this, in the XamDiagram control, as all of the nodes in the XamDiagram are completely customizable, and so you could make them look like tree-nodes. You can read further about the XamDiagram here.
If you would like to see a horizontal navigation tree control included in the Windows Forms toolset, I would recommend suggesting a new product idea for this at our Windows Forms ideas site. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.
Please let me know if you have any other questions or concerns on this matter.
Thanks for take time to answer, its a shame the infragistics winform toolset its doesnt have a control like that, but like you wrote i will suggest the idea.
For me infragistics winform controls are the best tool for my dialy development.
Actually... the UltraWinGrid does have a horizontal ViewStyle. It's not exactly like what you have here, because the rows will appear below the parent node, not vertically centered like in your screen shot. But it is a horizontal view where the child rows appear to the right of the parent. This is what the grid's horizontal view looks like.
And I have attached a small sample project that I used to create this image.
Hi Mike, I'm the same user how create this post, but i just bought the new Ultimate version 18.2 and create this new account for that keys.
Your example was the best solution, really thanks you, this is how see now:
If some in the forum need some solution I will love to share the code, just ask.
In this moment I have a couple of questions, in your example you use a UltraDataSource to populate the grid, my tree will have a dynamic structure and its populate from a SQL database and I have the following columns:
This is the first time than I use the UltraDataSource and my questions are:
I will appreciate your help.
If you are binding the grid to a hierarchical data source that's coming from SQL, then you would probably be better off off using a DataSet rather than UltraDataSource. The DotNet framework has classes to populate a DataSet from SQl using the DataAdapter class.
UltraDataSource is really for when you want to create the structure and populate all of the data up-front manually. You could get your SQL data and copy it into an UltraDataSource, of course. That might be useful in some cases, since UltraDataSource is a bit more efficient when it comes to getting the child rows. But that's a trade-off in both getting all of the data up-front and also making it more difficult to update the back-end.