51 references to DesignerUserDataKeys
System.Workflow.ComponentModel (51)
AuthoringOM\Design\ActivityDesigner.cs (4)
364
designerVerb.Properties[
DesignerUserDataKeys
.MoveBranchKey] = true;
368
designerVerb.Properties[
DesignerUserDataKeys
.MoveBranchKey] = false;
832
ParallelActivityDesigner.MoveDesigners(this, (bool)moveBranchVerb.Properties[
DesignerUserDataKeys
.MoveBranchKey]);
855
bool moveleft = (bool)moveBranchVerb.Properties[
DesignerUserDataKeys
.MoveBranchKey];
AuthoringOM\Design\ActivityPreviewDesigner.cs (26)
109
return ActivityDesigner.GetDesigner(itemInfo.UserData[
DesignerUserDataKeys
.Activity] as Activity);
271
verb.Properties[
DesignerUserDataKeys
.ViewActivity] = false;
274
verb.Properties[
DesignerUserDataKeys
.ViewActivity] = true;
280
verb.Properties[
DesignerUserDataKeys
.PreviewActivity] = true;
283
verb.Properties[
DesignerUserDataKeys
.PreviewActivity] = false;
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;
865
if (verb != null && verb.Properties.Contains(
DesignerUserDataKeys
.ViewActivity))
870
bool viewNext = (bool)verb.Properties[
DesignerUserDataKeys
.ViewActivity];
888
if (ShowPreview && designerVerb != null && designerVerb.Properties.Contains(
DesignerUserDataKeys
.PreviewActivity))
889
this.previewWindow.PreviewMode = (bool)designerVerb.Properties[
DesignerUserDataKeys
.PreviewActivity];
895
if (ShowPreview && designerVerb != null && designerVerb.Properties.Contains(
DesignerUserDataKeys
.PreviewActivity))
896
designerVerb.Enabled = (this.previewWindow.PreviewMode != (bool)designerVerb.Properties[
DesignerUserDataKeys
.PreviewActivity]);
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\DesignerHelpers.cs (4)
1525
actionVerb.Properties[
DesignerUserDataKeys
.DesignerAction] = designerActions[i];
1526
actionVerb.Properties[
DesignerUserDataKeys
.Designer] = designer;
1563
DesignerAction designerAction = designerVerb.Properties[
DesignerUserDataKeys
.DesignerAction] as DesignerAction;
1566
ActivityDesigner designer = designerVerb.Properties[
DesignerUserDataKeys
.Designer] as ActivityDesigner;
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\FreeFormDesigner.cs (7)
1398
verb.Properties[
DesignerUserDataKeys
.ZOrderKey] = ZOrder.Foreground;
1401
verb.Properties[
DesignerUserDataKeys
.ZOrderKey] = ZOrder.Background;
1412
if (designerVerb != null && designerVerb.Properties.Contains(
DesignerUserDataKeys
.ZOrderKey))
1417
if ((ZOrder)designerVerb.Properties[
DesignerUserDataKeys
.ZOrderKey] == ZOrder.Foreground)
1419
else if ((ZOrder)designerVerb.Properties[
DesignerUserDataKeys
.ZOrderKey] == ZOrder.Background)
1428
if (designerVerb != null && designerVerb.Properties.Contains(
DesignerUserDataKeys
.ZOrderKey))
1432
designerVerb.Enabled = freeformDesigner.CanUpdateZOrder(designerVerb.ActivityDesigner, (ZOrder)designerVerb.Properties[
DesignerUserDataKeys
.ZOrderKey]);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (7)
233
smartVerb.Properties[
DesignerUserDataKeys
.DesignerView] = view;
234
smartVerb.Properties[
DesignerUserDataKeys
.Image] = view.Image;
631
Image image = smartVerb.Properties[
DesignerUserDataKeys
.Image] as Image;
633
smartVerbItem.UserData[
DesignerUserDataKeys
.DesignerVerb] = smartVerb;
766
DesignerView view = verb.Properties[
DesignerUserDataKeys
.DesignerView] as DesignerView;
775
DesignerView view = verb.Properties[
DesignerUserDataKeys
.DesignerView] as DesignerView;
794
ActivityDesignerVerb smartVerb = itemInfo.UserData[
DesignerUserDataKeys
.DesignerVerb] as ActivityDesignerVerb;