工作流程活动属性... [英] Workflow activity attributes...

查看:49
本文介绍了工作流程活动属性...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为WF4活动添加类/活动属性?

How do you add a class/activity attribute to WF4 Activity?

目的是创建活动"的容器可以检查这些属性值.

Intent is that a container creating the Activity can inspect these attribute values.

谢谢

推荐答案

像WPF一样,我建议您使用代码-XAML文件.您可以为WF XAML文件手动创建其中之一.只要记住这是一个局部类.

Like WPF, I would recommend a code-beside-XAML-file. You can create one of these for your WF XAML file manually. Just remember it's a partial class.

XAML还具有声明性的属性语法,但问题是设计者可能无法完全支持它.

蒂姆(Tim)

There is also a declarative attribute syntax for XAML, but the problem is that the designer may not fully support it.

Tim


这篇关于工作流程活动属性...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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