64 references to HitTestLocations
System.Workflow.Activities (9)
Designers\EventHandlersDesigner.cs (2)
69return new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0).SelectableObject; 85return new ConnectorHitTestInfo(this, HitTestLocations.Designer, GetConnectors().GetLength(0) - 1).SelectableObject;
Designers\StateDesigner.cs (5)
1174compositeDesigner.InsertActivities(new HitTestInfo(compositeDesigner, HitTestLocations.Designer), activitiesToInsert.AsReadOnly()); 1257newSetStateParentDesigner.InsertActivities(new HitTestInfo(newSetStateParentDesigner, HitTestLocations.Designer), activitiesToInsert.AsReadOnly()); 1604if (!CanInsertActivities(new HitTestInfo(this, HitTestLocations.Designer), e.Activities)) 1610HitTestInfo moveLocation = new HitTestInfo(this, HitTestLocations.Designer); 1960HitTestInfo hitTestInfo = new HitTestInfo(this, HitTestLocations.Designer);
Designers\StateDesigner.Layouts.cs (2)
501hitInfo = new HitTestInfo(this.ActivityDesigner, HitTestLocations.Designer | HitTestLocations.ActionArea);
System.Workflow.ComponentModel (55)
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\ActivityDesigner.cs (8)
945HitTestLocations flags = (bounds.Contains(point)) ? HitTestLocations.Designer : HitTestLocations.None; 948flags |= (hitRectangle.Contains(point)) ? HitTestLocations.Left : flags; 951flags |= (hitRectangle.Contains(point)) ? HitTestLocations.Top : flags; 954flags |= (hitRectangle.Contains(point)) ? HitTestLocations.Right : flags; 957flags |= (hitRectangle.Contains(point)) ? HitTestLocations.Bottom : flags; 2536hitInfo = new HitTestInfo(ActivityDesigner.GetDesigner(compositeActivity), HitTestLocations.Designer);
AuthoringOM\Design\ActivityPreviewDesigner.cs (6)
381hitInfo = new ConnectorHitTestInfo(this, HitTestLocations.Designer, 0); 388hitInfo = new HitTestInfo(activityDesigner, HitTestLocations.Designer); 390hitInfo = new HitTestInfo(this, HitTestLocations.Designer | HitTestLocations.ActionArea); 395hitInfo = new HitTestInfo(this, HitTestLocations.Designer | HitTestLocations.ActionArea);
AuthoringOM\Design\CommandSet.cs (4)
448hitInfo = new HitTestInfo(compositeDesigner, HitTestLocations.Designer); 456hitInfo = new ConnectorHitTestInfo(parentDesigner, HitTestLocations.Designer, parentActivity.Activities.IndexOf(selectedActivity) + 1); 916hitInfo = new HitTestInfo(compositeDesigner, HitTestLocations.Designer); 924hitInfo = new ConnectorHitTestInfo(parentDesigner, HitTestLocations.Designer, parentActivity.Activities.IndexOf(selectedActivity) + 1);
AuthoringOM\Design\CompositeActivityDesigner.cs (5)
1082hitInfo = new HitTestInfo(this, HitTestLocations.Designer | HitTestLocations.ActionArea); 1094if (hitInfo.HitLocation != HitTestLocations.None) 1106hitInfo = new HitTestInfo(hitInfo.AssociatedDesigner, HitTestLocations.Designer | HitTestLocations.ActionArea);
AuthoringOM\Design\Connector.cs (2)
23: base(connectionPoint.AssociatedDesigner, HitTestLocations.Designer | HitTestLocations.Connector)
AuthoringOM\Design\DesignerInterfaces.cs (5)
572private HitTestLocations location = HitTestLocations.None; 597public HitTestInfo(ActivityDesigner designer, HitTestLocations location) 622public HitTestLocations HitLocation 704public ConnectorHitTestInfo(CompositeActivityDesigner compositeActivityDesigner, HitTestLocations flags, int connector)
AuthoringOM\Design\FreeFormDesigner.cs (8)
561return new HitTestInfo(this, HitTestLocations.Designer); 566(hitInfo.HitLocation == HitTestLocations.None || hitInfo.AssociatedDesigner == this || ShowConnectorsInForeground)) 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\MessageFilters\FreeFormDragDropManager.cs (1)
104showMoveCursor |= (MessageHitTestContext != null && MessageHitTestContext.AssociatedDesigner != null && ActivityDesigner.GetParentDesigner(MessageHitTestContext.AssociatedDesigner.Activity) is FreeformActivityDesigner && (MessageHitTestContext.HitLocation & HitTestLocations.ActionArea) == 0);
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\SecondaryViewProvider.cs (1)
191CompositeActivityDesigner.InsertActivities(this.parentDesigner, new HitTestInfo(this.parentDesigner, HitTestLocations.Designer), new List<Activity>(new Activity[] { activity }).AsReadOnly(), SR.GetString(SR.AddingImplicitActivity));
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (1)
100this.connectorHitInfo = new ConnectorHitTestInfo(activityDesigner, HitTestLocations.Designer, connectorIndex);
AuthoringOM\Design\SequentialActivityDesigner.cs (8)
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); 327if (hitInfo.HitLocation == HitTestLocations.None) 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 (3)
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);