1 write to modelItemToUIElement
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
189
this.
modelItemToUIElement
= new Dictionary<ModelItem, UIElement>();
31 references to modelItemToUIElement
System.Activities.Core.Presentation (31)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (3)
43
Fx.Assert(this.
modelItemToUIElement
.ContainsKey(modelItem), "Moved item does not exist.");
199
if (!this.
modelItemToUIElement
.ContainsKey(sourceStateItem))
253
foreach (ModelItem item in this.
modelItemToUIElement
.Keys)
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (5)
43
if (this.
modelItemToUIElement
.ContainsKey(deleted))
45
this.RemoveStateVisual(this.
modelItemToUIElement
[deleted]);
159
&& this.
modelItemToUIElement
.ContainsKey(propertyChange.NewValue))
276
if (this.
modelItemToUIElement
.ContainsKey(modelItem))
280
FreeFormPanel.SetLocation(this.
modelItemToUIElement
[modelItem], (Point)e.NewValue);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
290
return ((StateMachineDesigner)parent.View).StateContainerEditor.
modelItemToUIElement
[stateModelItem];
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (22)
408
this.
modelItemToUIElement
.Clear();
422
foreach (UIElement element in this.
modelItemToUIElement
.Values)
428
this.
modelItemToUIElement
.Clear();
474
this.
modelItemToUIElement
.Add(this.initialModelItem, initialNode);
554
if (!this.
modelItemToUIElement
.TryGetValue(model, out element))
576
this.
modelItemToUIElement
.Add(model, element);
607
if (!this.
modelItemToUIElement
.ContainsKey(modelItem))
611
else if (!this.panel.Children.Contains(this.
modelItemToUIElement
[modelItem]))
613
viewsAdded.Add(this.
modelItemToUIElement
[modelItem]);
680
this.
modelItemToUIElement
.Remove(modelItem);
712
UIElement sourceDesigner = this.
modelItemToUIElement
[sourceState];
713
UIElement destinationDesigner = this.
modelItemToUIElement
[destinationState];
793
if (
modelItemToUIElement
.TryGetValue(item, out element) && element is VirtualizedContainerService.VirtualizingContainer)
1914
PerformInternalMove(this.
modelItemToUIElement
[droppedModelItem], e.GetPosition(this.panel), anchorPoint, autoConnectDirection, connectorToSplit);
1952
if (this.
modelItemToUIElement
.ContainsKey(droppedModelItem))
1954
view = this.
modelItemToUIElement
[droppedModelItem];
2103
UIElement shapeToMove = this.
modelItemToUIElement
[selectedModelItem];
2144
&& currentSelection.SelectedObjects.All<ModelItem>((p) => { return this.
modelItemToUIElement
.ContainsKey(p); }))
2534
UIElement srcElement = editor.
modelItemToUIElement
[this.SrcModelItem];
2535
UIElement desElement = editor.
modelItemToUIElement
[this.DstModelItem];
2590
if (draggedModelItem != null && this.
modelItemToUIElement
.ContainsKey(draggedModelItem))
2592
if (StateContainerEditor.GetAttachedConnectors(this.
modelItemToUIElement
[draggedModelItem]).Count > 0)