21 references to UserData
System.Workflow.ComponentModel (21)
AuthoringOM\Design\ActivityPreviewDesigner.cs (16)
109
return ActivityDesigner.GetDesigner(itemInfo.
UserData
[DesignerUserDataKeys.Activity] as Activity);
334
Activity activity = itemInfo.
UserData
[DesignerUserDataKeys.Activity] as Activity;
386
ActivityDesigner activityDesigner = (itemInfo != null) ? ActivityDesigner.GetDesigner(itemInfo.
UserData
[DesignerUserDataKeys.Activity] as Activity) : null;
424
return (this.previewStrip.ActiveItem != null && this.previewStrip.ActiveItem.
UserData
[DesignerUserDataKeys.Activity] == containedDesigner.Activity);
445
if (item.
UserData
[DesignerUserDataKeys.Activity] == containedDesigner.Activity)
466
nextObject = this.previewStrip.Items[(index > 0) ? index - 1 : this.previewStrip.Items.Count - 1].
UserData
[DesignerUserDataKeys.Activity];
468
nextObject = this.previewStrip.Items[(index < this.previewStrip.Items.Count - 1) ? index + 1 : 0].
UserData
[DesignerUserDataKeys.Activity];
489
stripItem.
UserData
[DesignerUserDataKeys.Activity] = containedActivity;
740
EnsureVisibleContainedDesigner(designerHost.GetDesigner(((Activity)itemInfo.
UserData
[DesignerUserDataKeys.Activity])) as ActivityDesigner);
770
itemToAdd.
UserData
[DesignerUserDataKeys.Activity] = listChangeArgs.AddedItems[0];
811
if (itemInfo.
UserData
[DesignerUserDataKeys.Activity] == selectionService.PrimarySelection)
854
this.previewWindow.PreviewedActivity = (e.CurrentItem != null) ? e.CurrentItem.
UserData
[DesignerUserDataKeys.Activity] as Activity : null;
909
if (item.
UserData
[DesignerUserDataKeys.Activity] == activity)
945
return (selectionService != null && selectionService.PrimarySelection == this.item.
UserData
[DesignerUserDataKeys.Activity]);
980
Debug.Assert(item.
UserData
[DesignerUserDataKeys.Activity] is Activity);
1006
ActivityDesigner activityDesigner = ActivityDesigner.GetDesigner(this.item.
UserData
[DesignerUserDataKeys.Activity] as Activity);
AuthoringOM\Design\DesignerWidgets.cs (3)
1076
ActivityDesignerVerb smartVerb = item.
UserData
[DesignerUserDataKeys.DesignerVerb] as ActivityDesignerVerb;
2731
Activity activity = this.items[itemIndex].
UserData
[DesignerUserDataKeys.Activity] as Activity;
3166
return ActivityDesigner.GetDesigner(itemInfo.
UserData
[DesignerUserDataKeys.Activity] as Activity);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
633
smartVerbItem.
UserData
[DesignerUserDataKeys.DesignerVerb] = smartVerb;
794
ActivityDesignerVerb smartVerb = itemInfo.
UserData
[DesignerUserDataKeys.DesignerVerb] as ActivityDesignerVerb;