如何捕获scatterviewitem上的输入 [英] How do I capture the input on a scatterviewitem

查看:61
本文介绍了如何捕获scatterviewitem上的输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

 我查看了示例,并试图找到一个示例,该示例允许您捕获对scatterviewitem的输入,以便我可以处理它们像缩放这样的东西,或者有没有办法从scatterviewitem获取缩放而没有 散布
视图 更改尺寸?

 I looked through the samples and was trying to find a sample which allows you to capture the input to a scatterviewitem so I can process them for things like zoom or is there a way to get the zoom from the scatterviewitem without the scatter view changing size?

问候

Si

推荐答案

默认Scatterview项目和散点图的问题在于取决于如果没有任何子句处理,则分散视图的内容会触摸传播到父级。

The problem with default Scatterview Item and scatterview is that depending on the content of the scatterview, touch will be propagated to the parent if not handle by any child.

为了在某些情况下防止这种情况,您需要定义附加到scetterview的行为。

In order to prevent this in certain scenario, you need to define behaviours that you attached to your scetterview.

Josh作为
很好的例子
应用于scatterview项的行为。这将帮助你。

Josh as a nice exemple of the behaviour applied to scatterview item. This wil help you.

希望它有所帮助

Thnaks标记为答案并投票如果有帮助

Hope it helps
Thnaks to mark as answer and Vote if its helpfull

关注

Serge

regards
Serge


这篇关于如何捕获scatterviewitem上的输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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