1: public static DependencyProperty __ContextProperty = System.Workflow.ComponentModel.DependencyProperty.Register("__Context", typeof(WorkflowContext), typeof(YourActivityClass));
2:
3: [Description("Context")]
4: [Category("Context")]
5: [Browsable(true)]
6: [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
7: public WorkflowContext __Context
8: {
9: get
10: {
11: return ((WorkflowContext)(base.GetValue(YourActivityClass.__ContextProperty)));
12: }
13: set
14: {
15: base.SetValue(YourActivityClass.__ContextProperty, value);
16: }
17: }
18:
19: public static DependencyProperty __ListIdProperty = System.Workflow.ComponentModel.DependencyProperty.Register("__ListId", typeof(string), typeof(YourActivityClass));
20:
21: [Description("List Id")]
22: [Category("List Id")]
23: [Browsable(true)]
24: [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
25: public string __ListId
26: {
27: get
28: {
29: return ((string)(base.GetValue(YourActivityClass.__ListIdProperty)));
30: }
31: set
32: {
33: base.SetValue(YourActivityClass.__ListIdProperty, value);
34: }
35: }
36:
37: public static DependencyProperty __ListItemProperty = System.Workflow.ComponentModel.DependencyProperty.Register("__ListItem", typeof(int), typeof(YourActivityClass));
38:
39: [Description("List Item")]
40: [Category("List Item")]
41: [Browsable(true)]
42: [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
43: public int __ListItem
44: {
45: get
46: {
47: return ((int)(base.GetValue(YourActivityClass.__ListItemProperty)));
48: }
49: set
50: {
51: base.SetValue(YourActivityClass.__ListItemProperty, value);
52: }
53: }