123 references to FlowchartDesigner
System.Activities.Core.Presentation (123)
System\Activities\Core\Presentation\DesignerMetadata.cs (1)
42
FlowchartDesigner
.RegisterMetadata(builder);
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (8)
36
if (this.connectionPoints.Contains(
FlowchartDesigner
.GetTrueConnectionPoint(this.AdornedElement)))
38
trueConnectionPoint =
FlowchartDesigner
.GetTrueConnectionPoint(this.AdornedElement);
40
if (this.connectionPoints.Contains(
FlowchartDesigner
.GetFalseConnectionPoint(this.AdornedElement)))
42
falseConnectionPoint =
FlowchartDesigner
.GetFalseConnectionPoint(this.AdornedElement);
69
this.FlowDirection,
FlowchartDesigner
.FlowElementCaptionTypeface,
FlowchartDesigner
.FlowNodeCaptionFontSize,
100
this.FlowDirection,
FlowchartDesigner
.FlowElementCaptionTypeface,
FlowchartDesigner
.FlowNodeCaptionFontSize,
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (1)
26
DependencyProperty.Register("DroppingTypeResolvingOptions", typeof(TypeResolvingOptions), typeof(
FlowchartDesigner
));
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (7)
121
List<ConnectionPoint> destConnPoints =
FlowchartDesigner
.GetConnectionPoints(dest);
205
List<ConnectionPoint> defaultConnectionPoints =
FlowchartDesigner
.GetConnectionPoints(element);
207
connectionPoints.Add(
FlowchartDesigner
.GetTrueConnectionPoint(element));
208
connectionPoints.Add(
FlowchartDesigner
.GetFalseConnectionPoint(element));
265
allConnectionPoints.AddRange(
FlowchartDesigner
.GetConnectionPoints(shape));
266
allConnectionPoints.Add(
FlowchartDesigner
.GetTrueConnectionPoint(shape));
267
allConnectionPoints.Add(
FlowchartDesigner
.GetFalseConnectionPoint(shape));
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (13)
147
if (e.Key.Equals(
FlowchartDesigner
.FlowSwitchDefaultViewStateKey, StringComparison.CurrentCulture))
183
ModelItem oldLinkModelItem =
FlowchartDesigner
.GetLinkModelItem(connector);
190
FlowchartDesigner
.SetLinkModelItem(connector, linkModelItem);
368
this.flowNodeToUIElement[propertyChange.Owner],
FlowchartDesigner
.GetLinkModelItem(oldConnector));
432
ConnectionPoint srcConnectionPoint =
FlowchartDesigner
.GetTrueConnectionPoint(modelElement[currentMI]);
443
ConnectionPoint srcConnectionPoint =
FlowchartDesigner
.GetFalseConnectionPoint(modelElement[currentMI]);
628
srcConnPoint =
FlowchartDesigner
.GetTrueConnectionPoint(modelElement[srcModelItem]);
632
srcConnPoint =
FlowchartDesigner
.GetFalseConnectionPoint(modelElement[srcModelItem]);
687
ModelItem linkModelItem =
FlowchartDesigner
.GetLinkModelItem(connector);
717
ConnectionPoint trueConnPoint =
FlowchartDesigner
.GetTrueConnectionPoint(this.modelElement[shapeModelItem]);
718
ConnectionPoint falseConnPoint =
FlowchartDesigner
.GetFalseConnectionPoint(this.modelElement[shapeModelItem]);
768
destConnectionPoint =
FlowchartDesigner
.GetDestinationConnectionPointForAutoConnect(dest, sourceConnectionPoint);
796
destConnPoint =
FlowchartDesigner
.GetDestinationConnectionPointForAutoConnect(dest, srcConnPoint);
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (6)
48
ModelItem linkModelItem =
FlowchartDesigner
.GetLinkModelItem(link);
65
if (srcConnectionPoint.Equals(
FlowchartDesigner
.GetTrueConnectionPoint(srcConnectionPoint.ParentDesigner)))
171
if (sourceConnPoint.Equals(
FlowchartDesigner
.GetTrueConnectionPoint(this.modelElement[linkSource])))
183
else if (sourceConnPoint.Equals(
FlowchartDesigner
.GetFalseConnectionPoint(this.modelElement[linkSource])))
316
FlowchartDesigner
.GetConnectionPoints(dest).Where(p => p.PointType != ConnectionPointKind.Outgoing).ToList(),
349
FlowchartDesigner
.GetConnectionPoints(source).Where(p => p.PointType != ConnectionPointKind.Incoming).ToList(),
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (73)
35
public static readonly DependencyProperty ConnectionPointsProperty = DependencyProperty.RegisterAttached("ConnectionPoints", typeof(List<ConnectionPoint>), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
36
public static readonly DependencyProperty LinkModelItemProperty = DependencyProperty.RegisterAttached("LinkModelItem", typeof(ModelItem), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
37
public static readonly DependencyProperty FlowElementModelItemProperty = DependencyProperty.RegisterAttached("FlowElementModelItem", typeof(ModelItem), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
39
public static readonly DependencyProperty FlowchartWidthProperty = DependencyProperty.Register("FlowchartWidth", typeof(double), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
40
public static readonly DependencyProperty FlowchartHeightProperty = DependencyProperty.Register("FlowchartHeight", typeof(double), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
42
public static readonly DependencyProperty TrueConnectionPointProperty = DependencyProperty.RegisterAttached("TrueConnectionPoint", typeof(ConnectionPoint), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
43
public static readonly DependencyProperty FalseConnectionPointProperty = DependencyProperty.RegisterAttached("FalseConnectionPoint", typeof(ConnectionPoint), typeof(
FlowchartDesigner
), new FrameworkPropertyMetadata());
45
public static readonly DependencyProperty ShowAllConditionsProperty = DependencyProperty.Register("ShowAllConditions", typeof(bool), typeof(
FlowchartDesigner
));
47
public static readonly RoutedCommand SetAsStartNodeCommand = new RoutedCommand("SetAsStartNode", typeof(
FlowchartDesigner
));
49
public static readonly RoutedCommand ShowAllConditionsCommand = new RoutedCommand("ShowAllConditionsCommand", typeof(
FlowchartDesigner
));
50
public static readonly RoutedCommand HideAllConditionsCommand = new RoutedCommand("HideAllConditionsCommand", typeof(
FlowchartDesigner
));
227
setAsStartNode.Command =
FlowchartDesigner
.SetAsStartNodeCommand;
255
builder.AddCustomAttributes(type, new DesignerAttribute(typeof(
FlowchartDesigner
)));
364
return (List<ConnectionPoint>)obj.GetValue(
FlowchartDesigner
.ConnectionPointsProperty);
369
return (ConnectionPoint)obj.GetValue(
FlowchartDesigner
.FalseConnectionPointProperty);
374
return (ModelItem)obj.GetValue(
FlowchartDesigner
.LinkModelItemProperty);
379
return (ModelItem)obj.GetValue(
FlowchartDesigner
.FlowElementModelItemProperty);
384
return (ConnectionPoint)obj.GetValue(
FlowchartDesigner
.TrueConnectionPointProperty);
389
get { return (double)this.GetValue(
FlowchartDesigner
.FlowchartWidthProperty); }
390
set { this.SetValue(
FlowchartDesigner
.FlowchartWidthProperty, value); }
395
get { return (double)this.GetValue(
FlowchartDesigner
.FlowchartHeightProperty); }
396
set { this.SetValue(
FlowchartDesigner
.FlowchartHeightProperty, value); }
409
ModelItem flowElementMI =
FlowchartDesigner
.GetFlowElementModelItem(element);
494
obj.SetValue(
FlowchartDesigner
.ConnectionPointsProperty, connectionPoints);
500
obj.SetValue(
FlowchartDesigner
.FalseConnectionPointProperty, connectionPoint);
505
obj.SetValue(
FlowchartDesigner
.LinkModelItemProperty, modelItem);
510
obj.SetValue(
FlowchartDesigner
.FlowElementModelItemProperty, modelItem);
515
obj.SetValue(
FlowchartDesigner
.TrueConnectionPointProperty, connectionPoint);
558
connectionPointsToShow.AddRange(
FlowchartDesigner
.GetConnectionPoints(element));
564
connectionPointsToShow.AddRange(
FlowchartDesigner
.GetConnectionPoints(element));
568
connectionPointsToShow.Add(
FlowchartDesigner
.GetTrueConnectionPoint(element));
569
connectionPointsToShow.Add(
FlowchartDesigner
.GetFalseConnectionPoint(element));
609
foreach (ConnectionPoint connPoint in
FlowchartDesigner
.GetConnectionPoints(element))
740
ModelItem linkModelItem =
FlowchartDesigner
.GetLinkModelItem(movedConnector);
908
FlowchartDesigner
.SetLinkModelItem(connector, linkModelItem);
926
if (
FlowchartDesigner
.GetTrueConnectionPoint(srcConnPoint.ParentDesigner).Equals(srcConnPoint))
956
if (object.Equals(primarySelection,
FlowchartDesigner
.GetLinkModelItem(sender as DependencyObject)))
984
if (sourceConnectionPoint.Equals(
FlowchartDesigner
.GetTrueConnectionPoint(this.modelElement[linkModelItem])))
1032
pt = FindClosestConnectionPoint(locationPts[0],
FlowchartDesigner
.GetConnectionPoints(source), out dist);
1040
pt = FindClosestConnectionPoint(locationPts[locationPts.Count - 1],
FlowchartDesigner
.GetConnectionPoints(dest), out dist);
1081
ModelItem lineModelItem =
FlowchartDesigner
.GetLinkModelItem(clickedLine);
1148
FlowchartDesigner
.SetTrueConnectionPoint(element, trueConnectionPoint);
1152
FlowchartDesigner
.SetFalseConnectionPoint(element, falseConnectionPoint);
1185
FlowchartDesigner
.SetConnectionPoints(element, connectionPoints);
1207
FlowchartDesigner
.SetFlowElementModelItem(view as DependencyObject, flowElementMI);
1278
List<ConnectionPoint> srcConnectionPoints =
FlowchartDesigner
.GetConnectionPoints(source);
1279
List<ConnectionPoint> destConnectionPoints =
FlowchartDesigner
.GetConnectionPoints(dest);
1299
destConnectionPoint = FindClosestConnectionPointNotOfType(sourceConnectionPoint,
FlowchartDesigner
.GetConnectionPoints(dest), ConnectionPointKind.Outgoing);
1323
sourceConnectionPoint = FindClosestConnectionPointNotOfType(destConnectionPoint,
FlowchartDesigner
.GetConnectionPoints(src), ConnectionPointKind.Incoming);
1338
ConnectionPoint trueConnPoint =
FlowchartDesigner
.GetTrueConnectionPoint(decisionDesigner);
1339
ConnectionPoint falseConnPoint =
FlowchartDesigner
.GetFalseConnectionPoint(decisionDesigner);
1394
this.StoreConnectorViewState(
FlowchartDesigner
.GetLinkModelItem(connector), connector.Points, FreeFormPanel.GetSourceConnectionPoint(connector), isUndoableViewState);
1403
if (srcConnPoint.Equals(
FlowchartDesigner
.GetTrueConnectionPoint(this.modelElement[linkModelItem])))
1517
StoreConnectorViewState(
FlowchartDesigner
.GetLinkModelItem(connector), viewState, source, withUndo);
1558
bool keepRelativePosition = srcContainer is
FlowchartDesigner
;
1839
FlowchartDesigner
fcDesigner = compositeView as
FlowchartDesigner
;
1970
ModelItem linkModelItem =
FlowchartDesigner
.GetLinkModelItem(this.selectedConnector);
2126
FlowchartDesigner
flowchartDesigner = ((
FlowchartDesigner
)flowchart.View);
2160
if (
FlowchartDesigner
.Pack(adorners, (adorner => adorner is FlowchartExpressionAdorner)))
2203
List<ConnectionPoint> connectionPoints =
FlowchartDesigner
.GetAllConnectionPoints(designer);
2209
return
FlowchartDesigner
.GetConnectionPointForAutoConnect(connectionPoints);
2233
List<ConnectionPoint> destConnectionPoints = new List<ConnectionPoint>(
FlowchartDesigner
.GetConnectionPoints(dest).Where<ConnectionPoint>((p) =>
2238
return
FlowchartDesigner
.GetConnectionPointForAutoConnect(destConnectionPoints);
2405
List<ConnectionPoint> list =
FlowchartDesigner
.GetAllConnectionPoints(element);
2411
List<ConnectionPoint> list =
FlowchartDesigner
.GetAllConnectionPoints(element);
2522
FlowchartDesigner
.SetAutoSplitDataWithUndo(
2536
List<ConnectionPoint> connectionPoints =
FlowchartDesigner
.GetAllConnectionPoints(designer);
2556
point = this.FindClosestConnectionPointNotOfType(srcConnPoint, new List<ConnectionPoint>(
FlowchartDesigner
.GetConnectionPoints(destDesigner).Where<ConnectionPoint>(p =>
2571
point = this.FindClosestConnectionPointNotOfType(destConnPoint, new List<ConnectionPoint>(
FlowchartDesigner
.GetConnectionPoints(srcDesigner).Where<ConnectionPoint>(p =>
2745
FlowchartDesigner
designer = this.Owner.View as
FlowchartDesigner
;
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (5)
23
DependencyProperty.Register("ParentFlowchartDesigner", typeof(
FlowchartDesigner
), typeof(FlowchartResizeGrip));
39
public
FlowchartDesigner
ParentFlowchartDesigner
41
get { return (
FlowchartDesigner
)GetValue(ParentFlowchartDesignerProperty); }
82
FlowchartDesigner
flowchartDesigner = this.ParentFlowchartDesigner;
100
FlowchartDesigner
flowchartDesigner = this.ParentFlowchartDesigner;
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (2)
84
showAllConditionsBinding.RelativeSource = new RelativeSource(RelativeSourceMode.FindAncestor, typeof(
FlowchartDesigner
), 1);
85
showAllConditionsBinding.Path = new PropertyPath(
FlowchartDesigner
.ShowAllConditionsProperty);
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (5)
89
showAllConditionsBinding.RelativeSource = new RelativeSource(RelativeSourceMode.FindAncestor, typeof(
FlowchartDesigner
), 1);
90
showAllConditionsBinding.Path = new PropertyPath(
FlowchartDesigner
.ShowAllConditionsProperty);
171
FlowchartDesigner
flowchartDesigner = VisualTreeUtils.FindVisualAncestor<
FlowchartDesigner
>(this);
181
ModelItem linkModelItem =
FlowchartDesigner
.GetLinkModelItem(connector);
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
161
FlowchartDesigner
.DropActivityBelow(this.ViewStateService, this.ModelItem, replyActivity, 30);
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
164
FlowchartDesigner
.DropActivityBelow(this.ViewStateService, this.ModelItem, replyActivity, 30);