37 references to PrimarySelection
System.Workflow.Activities (2)
Designers\StateDesigner.cs (2)
2112
Activity selection = this.SelectionService.
PrimarySelection
as Activity;
2124
if (this.Activity == this.SelectionService.
PrimarySelection
)
System.Workflow.ComponentModel (29)
AuthoringOM\Design\ActivityDesigner.cs (2)
148
return (selectionService != null && selectionService.
PrimarySelection
== Activity);
2521
object selectedObject = selectionService.
PrimarySelection
;
AuthoringOM\Design\ActivityPreviewDesigner.cs (3)
811
if (itemInfo.UserData[DesignerUserDataKeys.Activity] == selectionService.
PrimarySelection
)
822
ActivityDesigner selectedDesigner = ActivityDesigner.GetDesigner(selectionService.
PrimarySelection
as Activity);
945
return (selectionService != null && selectionService.
PrimarySelection
== this.item.UserData[DesignerUserDataKeys.Activity]);
AuthoringOM\Design\CommandSet.cs (5)
425
object selectedObject = this.selectionService.
PrimarySelection
;
581
object selectedObject = this.selectionService.
PrimarySelection
;
636
IComponent selectedComponent = this.selectionService.
PrimarySelection
as IComponent;
883
object selectedObject = this.selectionService.
PrimarySelection
;
950
this.workflowView.EnsureVisible(this.selectionService.
PrimarySelection
);
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1351
object selectedObject = (selectionService != null) ? selectionService.
PrimarySelection
: null;
AuthoringOM\Design\DocumentOutline.cs (5)
156
if (selectionService != null && selectionService.
PrimarySelection
!= null)
158
this.treeView.SelectedNode = this.activityToNodeMapping[selectionService.
PrimarySelection
] as WorkflowOutlineNode;
239
if (selectionService != null && node != null && selectionService.
PrimarySelection
!= node.Activity)
409
if (selectionService != null && selectionService.
PrimarySelection
!= null)
411
this.treeView.SelectedNode = this.activityToNodeMapping[selectionService.
PrimarySelection
] as WorkflowOutlineNode;
AuthoringOM\Design\FreeFormDesigner.cs (2)
374
glyphs.Add(new FreeFormConnectorSelectionGlyph(connectorHitInfo.MapToIndex(), (connectorHitInfo == selectionService.
PrimarySelection
)));
961
object selectedObject = (selectionService != null) ? selectionService.
PrimarySelection
: null;
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (5)
238
connector.OnPaintSelected(new ActivityDesignerPaintEventArgs(e.Graphics, connector.ParentDesigner.Bounds, viewPort, connector.ParentDesigner.DesignerTheme), (selectedComponents == selectionService.
PrimarySelection
), new Point[] { });
239
if (selectedComponents == selectionService.
PrimarySelection
)
271
Connector selectedConnector = Connector.GetConnectorFromSelectedObject(selectionService.
PrimarySelection
);
296
Connector selectedConnector = Connector.GetConnectorFromSelectedObject(selectionService.
PrimarySelection
);
449
Connector selectedConnector = Connector.GetConnectorFromSelectedObject(selectionService.
PrimarySelection
);
AuthoringOM\Design\MessageFilters\WindowManager.cs (4)
232
IDesigner designer = ActivityDesigner.GetDesigner(selectionService.
PrimarySelection
as Activity) as IDesigner;
243
CompositeActivityDesigner parentDesigner = ActivityDesigner.GetParentDesigner(selectionService.
PrimarySelection
);
300
ActivityDesigner designer = ActivityDesigner.GetDesigner(selectionService.
PrimarySelection
as Activity) as ActivityDesigner;
401
object primarySelection = selectionService.
PrimarySelection
;
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (1)
179
state |= (selectionService.
PrimarySelection
== this.connectorHitInfo.SelectableObject) ? AccessibleStates.Focused : AccessibleStates.Focusable;
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
273
designerGlyphs.Add(new SequentialConnectorSelectionGlyph(connectorHitTestInfo.MapToIndex(), (selectionService.
PrimarySelection
== obj)));
System.Workflow.Runtime (2)
CorrelationToken.cs (2)
96
if (selectionService != null && selectionService.SelectionCount == 1 && selectionService.
PrimarySelection
is Activity)
98
Activity currentActivity = selectionService.
PrimarySelection
as Activity;
System.WorkflowServices (4)
System\Workflow\Activities\ChannelToken.cs (2)
113
if (selectionService != null && selectionService.SelectionCount == 1 && selectionService.
PrimarySelection
is Activity)
119
Activity currentActivity = selectionService.
PrimarySelection
as Activity;
System\Workflow\Activities\ContextToken.cs (2)
116
if (selectionService != null && selectionService.SelectionCount == 1 && selectionService.
PrimarySelection
is Activity)
122
Activity currentActivity = selectionService.
PrimarySelection
as Activity;