41 references to UserDataKeys
System.Workflow.ComponentModel (41)
AuthoringOM\Activity.cs (4)
884Hashtable lookupPaths = (Hashtable)rootActivity.UserData[UserDataKeys.LookupPaths]; 1376this.UserData[UserDataKeys.CustomActivity] = this.GetValue(CustomActivityProperty); 1393this.UserData[UserDataKeys.LookupPaths] = lookupPaths; 2194Hashtable lookupPaths = (Hashtable)rootActivity.UserData[UserDataKeys.LookupPaths];
AuthoringOM\Behaviors\Compensate.cs (1)
183targetList.Add(parent.UserData[UserDataKeys.CustomActivityDefaultName] as string);
AuthoringOM\Bind.cs (7)
711if (activityBind.UserData[UserDataKeys.BindDataSource] == null) 712activityBind.UserData[UserDataKeys.BindDataSource] = new Hashtable(); 714((Hashtable)activityBind.UserData[UserDataKeys.BindDataSource])[activity.QualifiedName] = memberInfo; 717if (activityBind.UserData[UserDataKeys.BindDataContextActivity] == null) 718activityBind.UserData[UserDataKeys.BindDataContextActivity] = new Hashtable(); 719((Hashtable)activityBind.UserData[UserDataKeys.BindDataContextActivity])[activity.QualifiedName] = dataSourceActivity.QualifiedName; 748Activity activity = UserData[UserDataKeys.BindDataContextActivity] as Activity;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
146activity.UserData[UserDataKeys.CustomActivity] = false;
AuthoringOM\Design\ComponentSerializationService.cs (1)
216(activityDecl as Activity).UserData.Remove(UserDataKeys.CustomActivity);
AuthoringOM\Design\CustomActivityDesigner.cs (4)
103rootActivity.UserData[UserDataKeys.CustomActivity] = false; 109(eventArgs.Component as Activity).UserData[UserDataKeys.CustomActivity] = true; 111(eventArgs.Component as Activity).UserData[UserDataKeys.CustomActivity] = false; 353((Activity)host.RootComponent).UserData[UserDataKeys.NewBaseType] = newBaseType;
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (4)
103(instance as Activity).UserData[UserDataKeys.CustomActivity] = false; 191if (cs.UserData.Contains(UserDataKeys.CodeSegment_New)) 239if (!instanceActivity.UserData.Contains(UserDataKeys.CustomActivity)) 240instanceActivity.UserData[UserDataKeys.CustomActivity] = (instanceActivity.Activities.Count > 0);
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (2)
160if (dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 162Hashtable typeNames = dependencyObject.UserData[UserDataKeys.DesignTimeTypeNames] as Hashtable;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
699if (obj is DependencyObject && ((DependencyObject)obj).UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 700designTimeTypeNames = ((DependencyObject)obj).UserData[UserDataKeys.DesignTimeTypeNames] as Hashtable;
Shared\CompModHelpers.cs (13)
1009if (dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 1011Hashtable typeNames = dependencyObject.UserData[UserDataKeys.DesignTimeTypeNames] as Hashtable; 1025if (!dependencyObject.UserData.Contains(UserDataKeys.DesignTimeTypeNames)) 1026dependencyObject.UserData[UserDataKeys.DesignTimeTypeNames] = new Hashtable(); 1028Hashtable typeNames = dependencyObject.UserData[UserDataKeys.DesignTimeTypeNames] as Hashtable; 1042if (compositeActivity.UserData.Contains(UserDataKeys.CustomActivity)) 1044return (bool)(compositeActivity.UserData[UserDataKeys.CustomActivity]); 1053compositeActivity.UserData[UserDataKeys.CustomActivityDefaultName] = activity.Name; 1054compositeActivity.UserData[UserDataKeys.CustomActivity] = true; // 1064compositeActivity.UserData[UserDataKeys.CustomActivity] = false; // 1194if (!declaringActivity.UserData.Contains(UserDataKeys.CustomActivityDefaultName)) 1198declaringActivity.UserData[UserDataKeys.CustomActivityDefaultName] = newCustomActivity.Name; 1201if (((string)declaringActivity.UserData[UserDataKeys.CustomActivityDefaultName]) == activityName)
Shared\XomlSerializationHelpers.cs (2)
178codeSegment.UserData[UserDataKeys.CodeSegment_New] = newSegment; 179codeSegment.UserData[UserDataKeys.CodeSegment_ColumnNumber] = linePosition + reader.Name.Length - 1;