WPF 中带有鱼眼的自定义滚动布局
我非常了解 Windows 窗体,但我对 WPF 还很陌生。
我想创建类似于 RSS 阅读器的应用程序 - 在主窗口中,每个注释都将显示在像便利贴一样的框架中,并且所有注释都应该链接起来并且可以上下滚动。 我还想包括一种鱼眼视图 - 单个音符将在屏幕中央以全尺寸显示,并在边缘缩小和旋转。
我知道自定义控制、转换和数据绑定概念,但我不确定如何处理主窗口中的显示和滚动注释。 问题是:
- 排列、显示和滚动有序笔记链的建议方法是什么?
- 单音符应该在屏幕上发现自己的位置还是应该由它的容器通知?
- 在这样的解决方案中,如何提供将相关笔记打开为“多个弹出窗口”笔记的功能,该笔记通过一条线与原始笔记连接? (就像在 Google Wonder Wheel、adobe flash 中遍历相关结果一样)
- 是否有任何标准解决方案来显示和操作(移动、附加、折叠)此类弹出窗口小部件?
如果您的提案与其他 GUI 框架(Forms、Swing、SWT)有任何相似之处,也欢迎进行比较。
提前致谢!
I know Windows Forms quite good but I'm new to WPF.
I'd like to create application similar to RSS reader - in main window every note will be displayed in Post-it like frame and all notes should be chained and scrollable up and down. I also want to include kind of fisheye view - single note will be displayed full size in the centre of the screen and will shrink and rotate on the edge.
I know custom control, transformation and databinding concepts but I'm not sure how to handle displaying and scrolling notes in the main window. The questions are:
- what is the suggested way to arrange, display and scroll ordered chain of notes?
- should single note discover own position on the screen or it should be notified by it's container?
- how in such solution provide feature which will open related notes as a "multiple popups" notes connected by a line with original one? (like traversing correlated results in Google Wonder Wheel, adobe flash there)
- are there any standard solutions for displaying and manipulating (moving, attaching, collapsing) such popup-widgets?
If there are any similarities in your proposal to other GUI frameworks (Forms, Swing, SWT), comparison are welcome too.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,您正在描述“轮播控件”或“元素流”或“封面流”。 我在 这个答案。
It seems to me you are describing a "carousel control" or "element flow" or "cover flow". I've put some links at this answer.