43 references to ConnectionPoint
System.Data (43)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (12)
13
public static readonly DependencyProperty LocationProperty = DependencyProperty.Register("Location", typeof(Point), typeof(
ConnectionPoint
));
44
get { return (Point)GetValue(
ConnectionPoint
.LocationProperty); }
45
set { SetValue(
ConnectionPoint
.LocationProperty, value); }
71
return this.GetSize(
ConnectionPoint
.DrawingSmallSide,
ConnectionPoint
.DrawingLargeSide);
80
return this.GetSize(
ConnectionPoint
.HitTestSmallSide,
ConnectionPoint
.HitTestLargeSide);
145
public static
ConnectionPoint
GetClosestConnectionPoint(List<
ConnectionPoint
> connectionPoints, Point refPoint, out double minDist)
153
ConnectionPoint
closestPoint = null;
154
foreach (
ConnectionPoint
point in connectionPoints)
176
double small =
ConnectionPoint
.DrawingSmallSide;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (4)
21
protected List<
ConnectionPoint
> connectionPoints;
23
internal List<
ConnectionPoint
> ConnectionPoints
28
public ConnectionPointsAdorner(UIElement adornedElement, List<
ConnectionPoint
> connectionPointsToShow, bool isParentShapeSelected)
57
protected void DrawConnectionPoint(
ConnectionPoint
connPoint, Point actualLocation, DrawingContext drawingContext)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (2)
124
ConnectionPoint
sourceConnectionPoint = FreeFormPanel.GetSourceConnectionPoint(this);
138
ConnectionPoint
destinationConnectionPoint = FreeFormPanel.GetDestinationConnectionPoint(this);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (4)
109
ConnectionPoint
srcConnectionPoint = FreeFormPanel.GetSourceConnectionPoint(this.Connector);
451
ConnectionPoint
targetConnPt = null;
465
ConnectionPoint
destConnPt = FreeFormPanel.GetDestinationConnectionPoint(this.editedConnector);
479
ConnectionPoint
srcConnPt = FreeFormPanel.GetSourceConnectionPoint(this.editedConnector);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (6)
55
internal static Point[] Route(FreeFormPanel panel, Point srPoint,
ConnectionPoint
destConnPoint)
63
internal static Point[] Route(FreeFormPanel panel,
ConnectionPoint
srcConnPoint, Point destPoint)
71
internal static Point[] Route(FreeFormPanel panel,
ConnectionPoint
srcConnectionPoint, MouseEventArgs e)
80
ConnectionPoint
destConnPoint = FreeFormPanel.ConnectionPointHitTest(e.GetPosition(panel), destConnPtsAdorner);
99
internal static Point[] Route(FreeFormPanel panel,
ConnectionPoint
srcConnPoint,
ConnectionPoint
destConnPoint)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (15)
28
public static readonly DependencyProperty DestinationConnectionPointProperty = DependencyProperty.RegisterAttached("DestinationConnectionPoint", typeof(
ConnectionPoint
), typeof(FreeFormPanel), new FrameworkPropertyMetadata());
29
public static readonly DependencyProperty SourceConnectionPointProperty = DependencyProperty.RegisterAttached("SourceConnectionPoint", typeof(
ConnectionPoint
), typeof(FreeFormPanel), new FrameworkPropertyMetadata());
170
public static
ConnectionPoint
GetDestinationConnectionPoint(DependencyObject obj)
172
return (
ConnectionPoint
)obj.GetValue(FreeFormPanel.DestinationConnectionPointProperty);
175
public static void SetDestinationConnectionPoint(DependencyObject obj,
ConnectionPoint
connectionPoint)
180
public static
ConnectionPoint
GetSourceConnectionPoint(DependencyObject obj)
182
return (
ConnectionPoint
)obj.GetValue(FreeFormPanel.SourceConnectionPointProperty);
185
public static void SetSourceConnectionPoint(DependencyObject obj,
ConnectionPoint
connectionPoint)
260
static public List<Point> GetEdgeRelativeToOutmostPanel(
ConnectionPoint
connectionPoint)
265
static public Point GetLocationRelativeToOutmostPanel(
ConnectionPoint
connectionPoint)
300
internal static
ConnectionPoint
ConnectionPointHitTest(Point hitPoint, ConnectionPointsAdorner adorner)
306
internal static
ConnectionPoint
ConnectionPointHitTest(Point hitPoint, List<
ConnectionPoint
> connectionPoints, FreeFormPanel panel)
308
ConnectionPoint
hitConnectionPoint = null;
310
foreach (
ConnectionPoint
connPoint in connectionPoints)