24 instantiations of ConnectorHitTestInfo
System.Workflow.Activities (2)
Designers\EventHandlersDesigner.cs (2)
69return new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0).SelectableObject; 85return new ConnectorHitTestInfo(this, HitTestLocations.Designer, GetConnectors().GetLength(0) - 1).SelectableObject;
System.Workflow.ComponentModel (22)
AuthoringOM\Behaviors\ExceptionHandlersDesigner.cs (2)
75return new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0).SelectableObject; 91return new ConnectorHitTestInfo(this, HitTestLocations.Designer, GetConnectors().GetLength(0) - 1).SelectableObject;
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
381hitInfo = new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0);
AuthoringOM\Design\CommandSet.cs (2)
456hitInfo = new ConnectorHitTestInfo(parentDesigner, HitTestLocations.Designer, parentActivity.Activities.IndexOf(selectedActivity) + 1); 924hitInfo = new ConnectorHitTestInfo(parentDesigner, HitTestLocations.Designer, parentActivity.Activities.IndexOf(selectedActivity) + 1);
AuthoringOM\Design\FreeFormDesigner.cs (4)
572return new ConnectorHitTestInfo(this, HitTestLocations.Designer | HitTestLocations.Connector, i); 883CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, ((CompositeActivity)Activity).Activities.Count), activitiesToInsert.AsReadOnly(), SR.GetString(SR.DragDropActivities)); 1020nextSelectableObject = new ConnectorHitTestInfo(freeformDesigner, HitTestLocations.Connector | HitTestLocations.Designer, (connectorIndex > 0) ? connectorIndex - 1 : connectorIndex); 1198parentDesigner.MoveActivities(new ConnectorHitTestInfo(this, HitTestLocations.Designer, moveIndex), new List<Activity>(new Activity[] { childDesigner.Activity }).AsReadOnly());
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
472CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, compositeActivity.Activities.Count), new List<Activity>(new Activity[] { branchActivity }).AsReadOnly(), DR.GetString(DR.AddingBranch, branchActivity.GetType().Name));
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (1)
100this.connectorHitInfo = new ConnectorHitTestInfo(activityDesigner, HitTestLocations.Designer, connectorIndex);
AuthoringOM\Design\SequentialActivityDesigner.cs (7)
101return new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0); 117return new ConnectorHitTestInfo(this, HitTestLocations.Designer, connectors.Length - 1); 312hitInfo = new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0); 322hitInfo = new ConnectorHitTestInfo(this, HitTestLocations.Designer, i); 357nextObject = new ConnectorHitTestInfo(this, HitTestLocations.Designer, currentIndex + 1); 373nextObject = new ConnectorHitTestInfo(this, HitTestLocations.Designer, currentIndex); 524if (logicalViewPort.IntersectsWith(connectors[i]) && i != CurrentDropTarget && dragDropManager.IsValidDropContext(new ConnectorHitTestInfo(this, HitTestLocations.Designer, i)))
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (4)
523CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, CurrentDropTarget), e.Activities, SR.GetString(SR.DragDropActivities)); 720if (dropIndex >= 0 && !CanInsertActivities(new ConnectorHitTestInfo(this, HitTestLocations.Designer, dropIndex), e.Activities)) 726ConnectorHitTestInfo moveLocation = new ConnectorHitTestInfo(this, HitTestLocations.Designer, dropIndex); 818return new ConnectorHitTestInfo(this, location.HitLocation, lockedActivityOffset + location.MapToIndex());
27 references to ConnectorHitTestInfo
System.Workflow.ComponentModel (27)
AuthoringOM\Design\Connector.cs (2)
598ConnectorHitTestInfo connectorHitTestInfo = selectedObject as ConnectorHitTestInfo;
AuthoringOM\Design\DesignerHelpers.cs (2)
1792ConnectorHitTestInfo connector = obj as ConnectorHitTestInfo;
AuthoringOM\Design\DesignerInterfaces.cs (2)
745ConnectorHitTestInfo destinationConnector = obj as ConnectorHitTestInfo;
AuthoringOM\Design\FreeFormDesigner.cs (4)
372ConnectorHitTestInfo connectorHitInfo = selectedObject as ConnectorHitTestInfo; 1005ConnectorHitTestInfo connector = component as ConnectorHitTestInfo;
AuthoringOM\Design\MessageFilters\WindowManager.cs (4)
274List<ConnectorHitTestInfo> connectors = new List<ConnectorHitTestInfo>(); 277ConnectorHitTestInfo connector = component as ConnectorHitTestInfo;
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (6)
82if (nextSelectableObj is ConnectorHitTestInfo) 83return GetChild(((ConnectorHitTestInfo)nextSelectableObj).MapToIndex()); 93private ConnectorHitTestInfo connectorHitInfo; 211if (nextSelectableObj is ConnectorHitTestInfo) 213ConnectorHitTestInfo nextConnector = nextSelectableObj as ConnectorHitTestInfo;
AuthoringOM\Design\SequentialActivityDesigner.cs (6)
271ConnectorHitTestInfo connectorHitTestInfo = obj as ConnectorHitTestInfo; 346if (obj is ConnectorHitTestInfo) 348int currentIndex = ((ConnectorHitTestInfo)obj).MapToIndex(); 362if (obj is ConnectorHitTestInfo) 364int currentIndex = ((ConnectorHitTestInfo)obj).MapToIndex();
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
726ConnectorHitTestInfo moveLocation = new ConnectorHitTestInfo(this, HitTestLocations.Designer, dropIndex);