Sketchflow组件屏幕导航 [英] Sketchflow component screen navigation

查看:82
本文介绍了Sketchflow组件屏幕导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我在sketchflow应用程序中有一个组件屏幕。在该组件屏幕中,我有一个超链接。
是否可以通过按下组件屏幕中的超链接(或按钮)来切换我的组件屏幕所在的屏幕中的状态?

问候日Dieter

Hello

i have a component screen in a sketchflow application. In that component screen i have a hyper link.
Is it possible to switch states in my screen where my component screen is hosted by pressing the hyper link( or button) in my component screen?

regards
Dieter

推荐答案

是的,这是可能的。您必须添加一个激活行为并在属性面板中输入屏幕和状态目标。

这是我做的工作:

1。在屏幕1上,我创建了一个状态组,其中有两个名为"Red"的状态。和"蓝色"。我从屏幕1第3页拖出了一个合成屏幕。在屏幕2上,我画了一个按钮,并为其添加了一个ActivateStateAction行为。我在时间线面板中选择了行为。在属性面板中,我将TargetScreen属性设置为"SilverlightPrototype2Screens.Screen_1"。 (你的项目必须有正确的命名空间)
6。在属性面板中,我将TargetState设置为"红色"

希望能回答您的问题!

Yes, this is possible.  You will have to add an activatestate behavior and enter the screen and state targets in the property panel.

Here is what I did to make it work:

1. On Screen 1, I created a state group, with 2 states named "Red" and "Blue".
2. I dragged out a composition screen from Screen 1
3. On Screen 2, I drew a button, and added a ActivateStateAction behavior to it
4. I selected the behavior in the timeline panel
5. In the properties panel, I set the TargetScreen property to "SilverlightPrototype2Screens.Screen_1" (yours would have to have the correct namespace for your project)
6. In the properties panel, I set the TargetState to "Red"

Hope that answers your question!



这篇关于Sketchflow组件屏幕导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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