FishEye选择图像索引什么的
我对 WPF 还很陌生。我遇到了这个精彩的项目。我已经计划使用它了。我用它来显示鱼眼效果,无论我想要什么,如果可以看到选择了哪个图像,如果它被单击,我就知道哪个索引或其他东西,以便我可以做一些逻辑。
可能的?
I am quite new to WPF.I came accross this wonderful project. I have planed to use it. I have used it to show the fish eye effect how ever I want that if it is possible to see which image is selected and if it gets clicked i get to know which index or something so that i can do some logic.
Possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
本文介绍了自定义面板的创建。 WPF 中的面板描述了布局,但不支持选择。为了支持选择,您需要使用诸如ListBox之类的控件。幸运的是,列表框允许您指定使用哪个面板来显示内容:
这是否有效取决于鱼眼面板的实现。然而,这是正确的前进方向!
The article describes the creation of a custom panel. A panel in WPF describes layout but does not support selection. In order to support selection you need to use a control such as ListBox. Fortunately the ListBox allows you to specify which panel to use to fost your content:
Whether this works or not depends on the implementation of the fish-eye panel. However, this is the right direction to move in!