扩展面板 [英] Expanding Panel

查看:92
本文介绍了扩展面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我想像在MSDN的TOC中实现面板展开/折叠一样,但是在WPF中实现面板展开/折叠.也就是说,它具有多级扩展和折叠功能.
尽管我希望这些组件具有在每个级别上折叠一次的额外功能:

第0层:向右扩展;没有崩溃
第1层:向右扩展;向左折叠
...
第n层:不展开;向左折叠

例如:

Hello,

I''d like to implement a panel expande/collapse as the one implemented in the MSDN''s TOC, but in WPF. That is, it has multi level capability to expand and collapse.
Though I''d like that the component(s) will have the extra capability to collapse one back on each level:

Layer 0: expand right ; no collapse
Layer 1: expand right ; collapse left
...
Layer n: no expand ; collapse left

example: http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(SYSTEM.WINDOWS.CONTROLS.TREEVIEW);k(VS.XAMLEDITOR);k(TargetFrameworkMoniker-%22.NETFRAMEWORK,VERSION%3dV4.0%22)&rd=true


Please look at the separator between the treeview and the content, there is a button pointing to the right, enables to expand the TOC. This is the capability I am looking for, to implement in WPF

Can any one point me to relevant info?

Regards,

Igal

推荐答案

听起来像TreeView很合适.

那里有成千上万的文章.尝试搜索"wpf treeview",并阅读一些内容.然后您可能想尝试''wpf treeviewitem''

*发表评论后
我显然正在寻找与您所指的目录不同的目录.在我看来,它就像一个TreeView.

也许您应该编辑原始帖子,以包含指向您想要的目录类型的页面的链接.
It sounds like a TreeView would fit the bill.

There are thousands of articles out there. Try searching on ''wpf treeview'' and have a read of a few. Then you might like to try ''wpf treeviewitem''

*After your comment
I am obviously looking at a different TOC than the one you refer to. It looks exactly like a TreeView to me.

Maybe you should edit your original post to include a link to a page with the type of TOC you want.


这篇关于扩展面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆