Xaml工作流上的工作流项目展示者设计器的帮助路径帮助 [英] help with binging path for workflowitemspresenter designer on xaml workflow

查看:72
本文介绍了Xaml工作流上的工作流项目展示者设计器的帮助路径帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们

我希望有人比我聪明.我有一个xaml非基于代码的工作流程.此工作流程包含一个自定义活动,一个开关和几个序列,可以在其中删除其他活动.

我已经使用并行检查了beta 2样本,但这是通过代码活动而不是xaml工作流程来结束的.收集序列的活动.当我查看加载的modelitem时,我无法确定到sequence元素的绑定路径,因为它没有显示为有效属性.其次,我的第一个自定义活动没有显示为将自定义设计器绑定到我为此活动构建的有效属性.

任何人都无法提供关于xaml工作流元素为何不具有任何见解的信息.

谢谢.

Matthew


Matthew Christopher

Hey Guys

I hope someone is smarter than me.  I have a xaml non code based workflow.  This workflow contains a custom activity a switch and a couple sequences where additional activities can be dropped. 

I have reviewed the beta 2 samples using parallel, however this is back ended with a code activity not xaml workflow.

Now I try and build a custom designer using the workflowItemsPresenter to collect the activities for the sequence.  When I look at the modelitem on load, I am unable to determine the binding path to the sequence element as it does not appear as a valid property.  Secondly my first custom activity does not appear as a valid property to bind the custom designer to that I have built for this activity.

Can anyone provide any insight as to why the elements of the xaml workflow do not appear in the modelitem hiarchy?

thanks.

Matthew


Matthew Christopher

推荐答案

Matthew,

我认为您正在寻找的是一种我们称为灰色盒子"的东西.在过去的场景中,您创作了一个带有漏洞"的活动,在里面.启用此功能的方法是使用ActivityAction(我的博客文章对此进行了介绍),并为该活动设计了一个可以显示这些ActivityAction的设计器.

您看不到的原因XAML工作流的活动是将它们编译为您的活动类型的内部实现详细信息.

是否可以针对要完成的任务发布一小段XAML(需要删除其他项目的活动)?

哑光
Matthew,

I think what you are looking to do is something that we've called the "grey box" scenario in the past, where you author an activity that has "holes" in it.   The way to enable this is through using ActivityAction (I've got a blog post coming on this), and building a designer for that activity that exposes those ActivityActions.

The reason that you don't see the activiteis of the XAML workflow is that they get compiled as the internal implementation details of your activity type. 

Could you post a small snippet of the XAML for what you are trying to accomplish (the activity where you want additional items to be dropped)?

matt


这篇关于Xaml工作流上的工作流项目展示者设计器的帮助路径帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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