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