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