How can I make an “Accordion Widget” in WPF?

后端 未结 2 2049
一向
一向 2020-12-31 23:58

The goal:

I\'m trying to achieve something like this in WPF:


(source: wordpress.org)


An initial solu

2条回答
  •  忘掉有多难
    2021-01-01 01:00

    Personally I think a TreeView control would give you a much better base to work from, especially if you're using Expression Blend as a basis to create new/blank Templates from for items. Seeing the default Templates is extremely enlightening and gives you much more fine-grained control and better understanding and insight into how things work by default. Then you can go to town on them. It also looks like you're working with Hierchical Data and TreeViews inherently lend themselves well to working with such data.

提交回复
热议问题