C# 下拉幻灯片表单
是否有任何内置控件,例如下拉菜单/滑块?例如,我想在对话框/控件/表单上显示一些信息,并且该表单内有一个箭头可以将其展开以显示更多信息?
替代文本 http://img227.imageshack.us/img227/4945/73068794.jpg< /a>
当我单击黑色箭头时,表单应垂直展开以显示更多信息。这就是我想要实现的目标。如果没有任何内置控件,您能告诉我我需要做什么来自己实现它吗?如何在展开时添加一点动画?
就像这里(当您单击菜单标题时,它不会立即展开/收缩,而是它的速度很慢,这就是我想添加的动画)
Is there any built-in control like a dropdown/slider? For instance, I want to display some info on dialog/control/form and inside that form there is a arrow which expands it to show more information?
alt text http://img227.imageshack.us/img227/4945/73068794.jpg
When I click the black arrow, the form should expand vertically to show more info. That's what I want to achieve. If there isn't any built-in control, can you please tell me what do I need to do to implement it myself? And how can I add a little animation when it is expanding?
Like here (when you click the menu header it doesn't expand/contract instantly rather it does little slowly, that's the kind of animation I would like to add)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这篇 CodeProject 文章应该可以帮助您入门。
This CodeProject article should help you get started.