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