WPF: Is there a built-in TreeGrid / TreeListView?

前端 未结 7 1128
长情又很酷
长情又很酷 2020-12-29 21:05

I need something just like this:

(I need both the TreeView and the ListView aspects. That is, Hirearchy and Columns.)

But, I need it in WPF. is thi

7条回答
  •  说谎
    说谎 (楼主)
    2020-12-29 21:35

    Have you considered Xceed.Wpf.DataGrid ?

    You can see a Demo of Full Version here.

    There's also a Community Edition as part of Extended WPF Toolkit™ - Ms-PL license

    List of the features in Full version
    List of the features in Community Edition
    Unfortunately, I couldn't find a table-styled compilation.

    P.S.

    1. By using Snoop (WPF Spy utility) and Spy++ on Visual Studio 2010 (Professional edition), I've found that the TreeGrid you see inside Watch, Local, and Autos tool-windows, is called TREEGRID which is not a Wpf component. (But I'm not sure what it is).
      Interesting though, I've found that the Breakpoints tool-window was built by using two components side-by-side - SysTreeView32 and SysListView32

    2. I'm not related to Xceed in any way :-)

    Edit:
    It seems that Hierarchy can be achieved on both Version, but Master-Detail is only present in the Full version, and on the Community version you can get only by using Groups.
    :-(

提交回复
热议问题