1 type derived from ConnectionPoint
System.Workflow.Activities (1)
Designers\StateDesigner.Layouts.cs (1)
24
internal class DesignerLayoutConnectionPoint :
ConnectionPoint
10 instantiations of ConnectionPoint
System.Workflow.Activities (4)
Designers\StateDesigner.cs (3)
1089
connectionPoints.Add(new
ConnectionPoint
(this, DesignerEdges.Top, 0));
1092
connectionPoints.Add(new
ConnectionPoint
(this, DesignerEdges.Bottom, 0));
1782
return new
ConnectionPoint
(targetStateDesigner, DesignerEdges.Top, 0);
Designers\StateDesignerConnector.cs (1)
325
targetConnection = new
ConnectionPoint
(targetDesigner, targetEdge, targetIndex);
System.Workflow.ComponentModel (6)
AuthoringOM\Design\ActivityDesigner.cs (4)
985
connectionPoints.Add(new
ConnectionPoint
(this, DesignerEdges.Left, i));
991
connectionPoints.Add(new
ConnectionPoint
(this, DesignerEdges.Right, i));
997
connectionPoints.Add(new
ConnectionPoint
(this, DesignerEdges.Top, i));
1003
connectionPoints.Add(new
ConnectionPoint
(this, DesignerEdges.Bottom, i));
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (2)
229
sourceConnection = new
ConnectionPoint
(sourceDesigner, sourceEdge, sourceIndex);
240
targetConnection = new
ConnectionPoint
(targetDesigner, targetEdge, targetIndex);
104 references to ConnectionPoint
System.Workflow.Activities (15)
Designers\StateDesigner.cs (12)
1032
protected override Connector CreateConnector(
ConnectionPoint
source,
ConnectionPoint
target)
1037
protected override bool CanConnect(
ConnectionPoint
source,
ConnectionPoint
target)
1071
private bool IsValidTargetConnectionPoint(
ConnectionPoint
target)
1080
public override ReadOnlyCollection<
ConnectionPoint
> GetConnectionPoints(DesignerEdges edges)
1082
List<
ConnectionPoint
> connectionPoints = new List<
ConnectionPoint
>();
1156
ConnectionPoint
source = connector.Source;
1165
ConnectionPoint
target = connector.Target;
1702
ConnectionPoint
target = GetTargetStateConnectionPoint(transitionInfo.TargetState);
1777
private
ConnectionPoint
GetTargetStateConnectionPoint(StateActivity targetState)
Designers\StateDesignerConnector.cs (3)
35
internal StateDesignerConnector(
ConnectionPoint
source,
ConnectionPoint
target)
284
ConnectionPoint
targetConnection = null;
System.Workflow.ComponentModel (89)
AuthoringOM\Design\ActivityDesigner.cs (12)
931
ReadOnlyCollection<
ConnectionPoint
> connectionPoints = GetConnectionPoints(DesignerEdges.All);
978
public virtual ReadOnlyCollection<
ConnectionPoint
> GetConnectionPoints(DesignerEdges edges)
980
List<
ConnectionPoint
> connectionPoints = new List<
ConnectionPoint
>();
1772
protected virtual bool CanConnect(
ConnectionPoint
source,
ConnectionPoint
target)
1782
protected virtual void OnConnected(
ConnectionPoint
source,
ConnectionPoint
target)
2361
bool IConnectableDesigner.CanConnect(
ConnectionPoint
source,
ConnectionPoint
target)
2366
void IConnectableDesigner.OnConnected(
ConnectionPoint
source,
ConnectionPoint
target)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (2)
214
ConnectionPoint
sourceConnection = null;
215
ConnectionPoint
targetConnection = null;
AuthoringOM\Design\Connector.cs (32)
20
private
ConnectionPoint
connectionPoint;
22
internal ConnectionPointHitTestInfo(
ConnectionPoint
connectionPoint)
28
internal
ConnectionPoint
ConnectionPoint
149
ConnectionPoint
connectionPoint = obj as
ConnectionPoint
;
204
private
ConnectionPoint
source = null;
205
private
ConnectionPoint
target = null;
209
public Connector(
ConnectionPoint
source,
ConnectionPoint
target)
242
public
ConnectionPoint
Source
266
public
ConnectionPoint
Target
813
public
ConnectionPoint
EditedConectionPoint
923
ConnectionPoint
source = this.editedConnector.Source;
924
ConnectionPoint
target = this.editedConnector.Target;
1050
private
ConnectionPoint
Source
1058
private
ConnectionPoint
Target
1409
ConnectionPoint
sourceConnection = this.editPoints[0].EditedConnectionPoint;
1413
ConnectionPoint
targetConnection = this.editPoints[this.editPoints.Count - 1].EditedConnectionPoint;
1453
private
ConnectionPoint
connectionPoint;
1462
public EditPoint(ConnectorEditor owner,
ConnectionPoint
connectionPoint)
1500
public
ConnectionPoint
EditedConnectionPoint
1527
Point sourcePoint = (source is
ConnectionPoint
) ? ((
ConnectionPoint
)source).Location : (Point)source;
1528
Point targetPoint = (target is
ConnectionPoint
) ? ((
ConnectionPoint
)target).Location : (Point)target;
1556
ConnectionPoint
sourceConnectionPoint = source as
ConnectionPoint
;
1560
ConnectionPoint
targetConnectionPoint = target as
ConnectionPoint
;
1667
if (escapeLocation is
ConnectionPoint
)
1669
escapeEdge = ((
ConnectionPoint
)escapeLocation).ConnectionEdge;
1670
escapePoint = ((
ConnectionPoint
)escapeLocation).Location;
AuthoringOM\Design\FreeFormDesigner.cs (12)
21
bool CanConnect(
ConnectionPoint
source,
ConnectionPoint
target);
22
void OnConnected(
ConnectionPoint
source,
ConnectionPoint
target);
417
public Connector AddConnector(
ConnectionPoint
source,
ConnectionPoint
target)
714
protected internal virtual Connector CreateConnector(
ConnectionPoint
source,
ConnectionPoint
target)
725
protected internal virtual bool CanConnectContainedDesigners(
ConnectionPoint
source,
ConnectionPoint
target)
736
protected internal virtual void OnContainedDesignersConnected(
ConnectionPoint
source,
ConnectionPoint
target)
AuthoringOM\Design\Glyphs\ConnectionPointGlyph.cs (2)
13
private
ConnectionPoint
connectionPoint;
15
internal ConnectionPointGlyph(
ConnectionPoint
connectionPoint)
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (29)
26
private
ConnectionPoint
[] connectablePoints;
27
private
ConnectionPoint
snappedConnectionPoint;
331
ConnectionPoint
[] snapableConnectionPoints = null;
334
ConnectionPoint
sourceConnectionPoint = this.connectorEditor.EditedConnector.Source == this.connectorEditor.EditedConectionPoint ?
357
ConnectionPoint
[] snapableConnectionPoints = null;
360
ConnectionPoint
sourceConnectionPoint = this.connectorEditor.EditedConnector.Source == this.connectorEditor.EditedConectionPoint ?
389
private
ConnectionPoint
[] ConnectablePoints
404
foreach (
ConnectionPoint
snapPoint in this.connectablePoints)
412
foreach (
ConnectionPoint
snapPoint in this.connectablePoints)
434
foreach (
ConnectionPoint
connectablePoint in ConnectablePoints)
472
internal
ConnectionPoint
SnappedConnectionPoint
501
private static
ConnectionPoint
[] GetSnappableConnectionPoints(Point currentPoint,
ConnectionPoint
sourceConnectionPoint,
ConnectionPoint
activeConnectionPoint, ActivityDesigner activityDesigner, out
ConnectionPoint
snappedConnectionPoint)
506
List<
ConnectionPoint
> snappableConnectionPoints = new List<
ConnectionPoint
>();
523
List<
ConnectionPoint
> validSnapPoints = new List<
ConnectionPoint
>();
525
ReadOnlyCollection<
ConnectionPoint
> snapPoints = designer.GetConnectionPoints(DesignerEdges.All);
526
foreach (
ConnectionPoint
snapPoint in snapPoints)
553
foreach (
ConnectionPoint
connectionPoint in snappedConnectionPoint.AssociatedDesigner.GetConnectionPoints(DesignerEdges.All))
564
private static
ConnectionPoint
[] GetHighlightableConnectionPoints(Point currentPoint, ActivityDesigner activityDesigner)
566
List<
ConnectionPoint
> highlightablePoints = new List<
ConnectionPoint
>();
578
ReadOnlyCollection<
ConnectionPoint
> snapPoints = designer.GetConnectionPoints(DesignerEdges.All);
581
foreach (
ConnectionPoint
snapPoint in snapPoints)
603
ConnectionPoint
[] connectablePoints = ConnectablePoints;
606
foreach (
ConnectionPoint
connectablePoint in connectablePoints)