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