问题描述
我正在编写PixelSense(Sur40)应用程序。背景中有一个全屏ScatterView。 InteractionDesign表示,在背景上(在ScatterView上)进行捏合手势("缩小输出"),将显示mainMenu。但是i
没有想法,我怎么能在ScatterView上拦截ManipulationEvent,因为ScatterView本身不会被操纵,所以不会被触发事件。是否有可能让这项工作?
i'm writing a PixelSense (Sur40) application. There's a fullscreen ScatterView in the Background. The InteractionDesign says, that making a pinch-gesture ("zoom OUT") on the background (on the ScatterView), the mainMenu will be displayed. But i have no Idea, how i can intercept a ManipulationEvent at the ScatterView, because the ScatterView will not be manipulated itself, so there will no event be fired. Is there a possibility to get this work?
问候
推荐答案
Scatterview是一个简单的Items控件,必须包含项目。
Scatterview is a simple Items control which must contains items in.
定义一个散点图,因为完整的背景是可以的,然后设置为背景颜色透明。
然后添加一个Scatteview项目作为其子项。
Define a scatterview as full background is ok, then set in background color to transparent.
Then add a Scatteview item as it child.
这将是您将能够默认操作的sctaeerview项目。所有操作都被嵌入
It will be the sctaeerview item that you will be able to manipulate by default. All manipulation is embeded
问候
这篇关于捏散ScatterView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!