65 references to AssociatedDesigner
System.Workflow.Activities (1)
Designers\ConditionalDesigner.cs (1)
69if (moveLocation != null && moveLocation.AssociatedDesigner != this)
System.Workflow.ComponentModel (64)
AuthoringOM\Design\ActivityDesigner.cs (2)
1961parentDesigner = ((HitTestInfo)obj).AssociatedDesigner as CompositeActivityDesigner; 2531compositeActivity = hitInfo.AssociatedDesigner.Activity as CompositeActivity;
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
401if (ShowPreview && this.previewWindow.PreviewMode && hitInfo.AssociatedDesigner != this)
AuthoringOM\Design\CompositeActivityDesigner.cs (3)
1105if (hitInfo.AssociatedDesigner != null && hitInfo.AssociatedDesigner.DrawingState != DrawingStates.Valid) 1106hitInfo = new HitTestInfo(hitInfo.AssociatedDesigner, HitTestLocations.Designer | HitTestLocations.ActionArea);
AuthoringOM\Design\Connector.cs (3)
601FreeformActivityDesigner connectorContainer = connectorHitTestInfo.AssociatedDesigner as FreeformActivityDesigner; 1558ActivityDesigner sourceDesigner = (sourceConnectionPoint != null) ? sourceConnectionPoint.AssociatedDesigner : rootDesigner.HitTest(sourcePoint).AssociatedDesigner; 1562ActivityDesigner targetDesigner = (targetConnectionPoint != null) ? targetConnectionPoint.AssociatedDesigner : rootDesigner.HitTest(targetPoint).AssociatedDesigner;
AuthoringOM\Design\DesignerHelpers.cs (3)
1212activity = (hitInfo != null && hitInfo.AssociatedDesigner != null) ? hitInfo.AssociatedDesigner.Activity : null; 1805if (connector != null && !(connector.AssociatedDesigner is FreeformActivityDesigner))
AuthoringOM\Design\DesignerInterfaces.cs (5)
718SequentialActivityDesigner sequentialActivityDesigner = AssociatedDesigner as SequentialActivityDesigner; 748if (destinationConnector.AssociatedDesigner == AssociatedDesigner && 759return base.GetHashCode() ^ ((AssociatedDesigner != null) ? AssociatedDesigner.GetHashCode() : 0) ^ MapToIndex().GetHashCode();
AuthoringOM\Design\FreeFormDesigner.cs (8)
373if (connectorHitInfo != null && connectorHitInfo.AssociatedDesigner == this) 554workflowView.DragDropInProgress && hitInfo.AssociatedDesigner != null && 555dragDropManager.DraggedActivities.Contains(hitInfo.AssociatedDesigner.Activity) && 556hitInfo.AssociatedDesigner.Bounds.Contains(point)) 558if (Activity == hitInfo.AssociatedDesigner.Activity) 560else if (containedDesigners.Contains(hitInfo.AssociatedDesigner)) 566(hitInfo.HitLocation == HitTestLocations.None || hitInfo.AssociatedDesigner == this || ShowConnectorsInForeground)) 1008FreeformActivityDesigner freeformDesigner = connector.AssociatedDesigner as FreeformActivityDesigner;
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (2)
260SetAutoExpandableDesigner(parentView.MessageHitTestContext.AssociatedDesigner as CompositeActivityDesigner); 271SetAutoExpandableDesigner(parentView.MessageHitTestContext.AssociatedDesigner as CompositeActivityDesigner);
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (8)
142FreeformActivityDesigner connectorContainer = ConnectionManager.GetConnectorContainer(MessageHitTestContext.AssociatedDesigner); 143ConnectablePoints = (connectorContainer != null && connectorContainer.EnableUserDrawnConnectors) ? GetHighlightableConnectionPoints(logicalPoint, MessageHitTestContext.AssociatedDesigner) : null; 163FreeformActivityDesigner connectorContainer = ConnectionManager.GetConnectorContainer(MessageHitTestContext.AssociatedDesigner); 167ConnectablePoints = GetHighlightableConnectionPoints(logicalPoint, MessageHitTestContext.AssociatedDesigner); 282FreeformActivityDesigner connectorContainer = ConnectionManager.GetConnectorContainer(connectionPointHitTestInfo.AssociatedDesigner); 304FreeformActivityDesigner connectorContainer = ConnectionManager.GetConnectorContainer(connectionPointHitTestInfo.AssociatedDesigner); 337snapableConnectionPoints = GetSnappableConnectionPoints(editPoint, sourceConnectionPoint, this.connectorEditor.EditedConectionPoint, MessageHitTestContext.AssociatedDesigner, out this.snappedConnectionPoint); 363snapableConnectionPoints = GetSnappableConnectionPoints(editPoint.Value, sourceConnectionPoint, this.connectorEditor.EditedConectionPoint, MessageHitTestContext.AssociatedDesigner, out this.snappedConnectionPoint);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (9)
120ActivityDesigner potentialDraggedDesigner = hitTestInfo.AssociatedDesigner; 284ActivityDesigner potentialDropTargetDesigner = hitTestInfo.AssociatedDesigner; 349ActivityDesigner potentialDropTargetDesigner = hitTestInfo.AssociatedDesigner; 439if (this.dropTargetDesigner != hitTestInfo.AssociatedDesigner) 447if (hitTestInfo.AssociatedDesigner != null) 449this.dropTargetDesigner = hitTestInfo.AssociatedDesigner; 721if (dropLocation == null || dropLocation.AssociatedDesigner == null) 724CompositeActivityDesigner compositeDesigner = dropLocation.AssociatedDesigner as CompositeActivityDesigner; 737if (IsRecursiveDropOperation(dropLocation.AssociatedDesigner))
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (2)
104showMoveCursor |= (MessageHitTestContext != null && MessageHitTestContext.AssociatedDesigner != null && ActivityDesigner.GetParentDesigner(MessageHitTestContext.AssociatedDesigner.Activity) is FreeformActivityDesigner && (MessageHitTestContext.HitLocation & HitTestLocations.ActionArea) == 0);
AuthoringOM\Design\MessageFilters\WindowManager.cs (6)
55if (this.currentActiveDesigner != hitTestInfo.AssociatedDesigner) 60this.currentActiveDesigner = hitTestInfo.AssociatedDesigner; 87if (this.currentActiveDesigner != hitTestInfo.AssociatedDesigner) 92this.currentActiveDesigner = hitTestInfo.AssociatedDesigner; 121if (this.currentActiveDesigner != hitTestInfo.AssociatedDesigner) 126this.currentActiveDesigner = hitTestInfo.AssociatedDesigner;
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
174if (moveLocation != null && moveLocation.AssociatedDesigner != this)
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (9)
107return ((SequentialActivityDesigner)this.connectorHitInfo.AssociatedDesigner).InternalRectangleToScreen(this.connectorHitInfo.Bounds); 151return this.connectorHitInfo.AssociatedDesigner.AccessibilityObject; 169if (this.connectorHitInfo.AssociatedDesigner.IsLocked) 172if (!this.connectorHitInfo.AssociatedDesigner.IsVisible) 210object nextSelectableObj = ((CompositeActivityDesigner)this.connectorHitInfo.AssociatedDesigner).GetNextSelectableObject(this.connectorHitInfo, navigate); 214return new SequentialConnectorAccessibleObject(nextConnector.AssociatedDesigner as SequentialActivityDesigner, nextConnector.MapToIndex()); 242if (this.connectorHitInfo.AssociatedDesigner != null && this.connectorHitInfo.AssociatedDesigner.Activity.Site != null) 243return this.connectorHitInfo.AssociatedDesigner.Activity.Site.GetService(serviceType);
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
272if (connectorHitTestInfo != null && connectorHitTestInfo.AssociatedDesigner == this)
AuthoringOM\Design\XomlDesignerLoader.cs (1)
858activityDesigner = ((HitTestInfo)obj).AssociatedDesigner;