16 references to ShapeLocationViewStateKey
System.Activities.Core.Presentation (16)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (7)
76
object viewState = this.ViewStateService.RetrieveViewState(modelItem,
ShapeLocationViewStateKey
);
447
object viewState = this.ViewStateService.RetrieveViewState(stateModelItem,
ShapeLocationViewStateKey
);
472
this.ViewStateService.StoreViewState(itemsPasted[ii],
ShapeLocationViewStateKey
, container.panel.TranslatePoint(point, container.panel));
487
object viewState = this.ViewStateService.RetrieveViewState(modelItem,
ShapeLocationViewStateKey
);
493
this.ViewStateService.StoreViewStateWithUndo(modelItem,
ShapeLocationViewStateKey
, viewState);
497
this.ViewStateService.StoreViewState(modelItem,
ShapeLocationViewStateKey
, viewState);
538
object location = this.ViewStateService.RetrieveViewState(itemsPasted[0],
ShapeLocationViewStateKey
);
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (1)
269
e.Key.Equals(
ShapeLocationViewStateKey
))
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (3)
256
if (this.ViewStateService.RetrieveViewState(storageModelItem,
ShapeLocationViewStateKey
) != null)
258
this.ViewStateService.StoreViewStateWithUndo(storageModelItem,
ShapeLocationViewStateKey
, newLocation);
262
this.ViewStateService.StoreViewState(storageModelItem,
ShapeLocationViewStateKey
, newLocation);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (5)
484
object locationOfShape = this.ViewStateService.RetrieveViewState(this.ModelItem, StateContainerEditor.
ShapeLocationViewStateKey
);
579
object locationOfShape = this.ViewStateService.RetrieveViewState(model,
ShapeLocationViewStateKey
);
697
object locationOfShape = this.ViewStateService.RetrieveViewState(modelItem, StateContainerEditor.
ShapeLocationViewStateKey
);
1983
object viewState = this.ViewStateService.RetrieveViewState(droppedModelItem,
ShapeLocationViewStateKey
);
2274
object viewState = this.ViewStateService.RetrieveViewState(modelItem,
ShapeLocationViewStateKey
);