TreeView with columns

前端 未结 4 973
鱼传尺愫
鱼传尺愫 2020-12-04 10:09

I need a multi columned Treeview for an app I am writing, I was wondering if anyone knew of a free working (in Vs-2010) multi columned Treeview.

相关标签:
4条回答
  • 2020-12-04 10:32

    Try this Microsof TreeListView WPF control

    http://msdn.microsoft.com/en-us/library/vstudio/ms771523%28v=vs.90%29.aspx

    0 讨论(0)
  • 2020-12-04 10:44

    There are a number of sample controls to be found around the web:

    • TreeViewAdv for .Net
    • TreeView with Columns
    • ContainerListView and TreeListView

    But the all-time favorite is probably the ObjectListView, which provides an expandable, multi-column ListView, along with many other incredibly handy features:

       ObjectListView sample

    0 讨论(0)
  • 2020-12-04 10:44

    You can do an illusion to the user in the user interface.

    1. Drag a listview and drop this over the treeview which was already placed in the form.
    2. Create columns in the listview as you need.
    3. Set the 'HeaderStyle' property to 'Nonclickable' and 'Scrollabe' property to 'False' of the listview.
    4. Set width and location of the listview as it fits to the treeview.
    0 讨论(0)
  • 2020-12-04 10:45

    You can use this example here or download this control

    0 讨论(0)
提交回复
热议问题