Table of Contents type control for WPF
What kind o开发者_如何学编程f control should I use for a "Table of Contents" side bar in WPF?
A TreeView would be the standard control here.
However, realize that using a TreeView in WPF, while incredibly powerful and flexible, can be a little unusual since it uses Hierarchical data. I'd recommend reading the TreeView Overview as well as looking into HierarchicalDataTemplate if you plan to do anything visually "unusual" in your table of contents.
精彩评论