2 writes to initialNode
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
250this.initialNode = null; 476this.initialNode = initialNode;
20 references to initialNode
System.Activities.Core.Presentation (20)
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (3)
222Fx.Assert(this.initialNode != null, "Initial node should not be null"); 225if (GetAttachedConnectors(this.initialNode).Count > 0) 227this.Remove(GetAttachedConnectors(this.initialNode)[0]);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (17)
477this.PopulateConnectionPoints(this.initialNode); 478this.initialNode.MouseEnter += new MouseEventHandler(OnChildElementMouseEnter); 479this.initialNode.MouseLeave += new MouseEventHandler(OnChildElementMouseLeave); 480this.panel.Children.Add(this.initialNode); 481this.initialNode.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity)); 482double startHeight = this.initialNode.DesiredSize.Height; 483double startWidth = this.initialNode.DesiredSize.Width; 488FreeFormPanel.SetLocation(this.initialNode, locationPt); 494Point startLocation = SnapVisualToGrid(this.initialNode, startPoint, new Point(-1, -1), false); 495FreeFormPanel.SetLocation(this.initialNode, startLocation); 500FreeFormPanel.SetChildSize(this.initialNode, new Size(startWidth, startHeight)); 506List<Connector> attachedConnectors = StateContainerEditor.GetAttachedConnectors(this.initialNode); 510this.initialNode, 511StateContainerEditor.GetEmptyConnectionPoints(this.initialNode), 514Point srcLocation = FreeFormPanel.GetLocation(this.initialNode); 515Size srcSize = FreeFormPanel.GetChildSize(this.initialNode); 539this.AddConnector(this.initialNode,