51 references to ViewStateService
System.Activities.Core.Presentation (51)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (13)
76
object viewState = this.
ViewStateService
.RetrieveViewState(modelItem, ShapeLocationViewStateKey);
327
this.
ViewStateService
.RemoveViewState(transitionModelItem, ConnectorLocationViewStateKey);
328
this.
ViewStateService
.RemoveViewState(transitionModelItem, SrcConnectionPointIndexStateKey);
329
this.
ViewStateService
.RemoveViewState(transitionModelItem, DestConnectionPointIndexStateKey);
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);
507
object viewState = this.
ViewStateService
.RetrieveViewState(modelItem, ConnectorLocationViewStateKey);
521
this.
ViewStateService
.StoreViewStateWithUndo(modelItem, ConnectorLocationViewStateKey, newLocations);
525
this.
ViewStateService
.StoreViewState(modelItem, ConnectorLocationViewStateKey, newLocations);
538
object location = this.
ViewStateService
.RetrieveViewState(itemsPasted[0], ShapeLocationViewStateKey);
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
257
object widthViewState = this.
ViewStateService
.RetrieveViewState(this.ModelItem, StateContainerWidthViewStateKey);
263
object heightViewState = this.
ViewStateService
.RetrieveViewState(this.ModelItem, StateContainerHeightViewStateKey);
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (13)
59
this.
ViewStateService
.StoreViewStateWithUndo(connectorModelItem, ConnectorLocationViewStateKey, null);
77
this.
ViewStateService
.StoreViewStateWithUndo(this.ModelItem, ConnectorLocationViewStateKey, null);
142
this.
ViewStateService
.StoreViewStateWithUndo(transitionModelItem, SrcConnectionPointIndexStateKey, srcConnectionPointIndex);
143
this.
ViewStateService
.StoreViewStateWithUndo(transitionModelItem, DestConnectionPointIndexStateKey, destConnectionPointIndex);
256
if (this.
ViewStateService
.RetrieveViewState(storageModelItem, ShapeLocationViewStateKey) != null)
258
this.
ViewStateService
.StoreViewStateWithUndo(storageModelItem, ShapeLocationViewStateKey, newLocation);
262
this.
ViewStateService
.StoreViewState(storageModelItem, ShapeLocationViewStateKey, newLocation);
270
this.
ViewStateService
.StoreViewStateWithUndo(connectorModelItem, ConnectorLocationViewStateKey, viewState);
274
this.
ViewStateService
.StoreViewState(connectorModelItem, ConnectorLocationViewStateKey, viewState);
320
this.
ViewStateService
.StoreViewStateWithUndo(
323
this.
ViewStateService
.RetrieveViewState(modelItem, StateContainerWidthViewStateKey));
325
this.
ViewStateService
.StoreViewStateWithUndo(
328
this.
ViewStateService
.RetrieveViewState(modelItem, StateContainerHeightViewStateKey));
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (23)
369
this.
ViewStateService
.ViewStateChanged += new ViewStateChangedEventHandler(OnViewStateChanged);
395
object widthViewState = this.
ViewStateService
.RetrieveViewState(this.ModelItem, StateContainerWidthViewStateKey);
401
object heightViewState = this.
ViewStateService
.RetrieveViewState(this.ModelItem, StateContainerHeightViewStateKey);
433
this.
ViewStateService
.ViewStateChanged -= new ViewStateChangedEventHandler(OnViewStateChanged);
484
object locationOfShape = this.
ViewStateService
.RetrieveViewState(this.ModelItem, StateContainerEditor.ShapeLocationViewStateKey);
579
object locationOfShape = this.
ViewStateService
.RetrieveViewState(model, ShapeLocationViewStateKey);
580
object sizeOfShape = this.
ViewStateService
.RetrieveViewState(model, ShapeSizeViewStateKey);
697
object locationOfShape = this.
ViewStateService
.RetrieveViewState(modelItem, StateContainerEditor.ShapeLocationViewStateKey);
779
this.
ViewStateService
.StoreViewState(connectorModelItem, SrcConnectionPointIndexStateKey, srcConnectionPointIndex);
780
this.
ViewStateService
.StoreViewState(connectorModelItem, DestConnectionPointIndexStateKey, destConnectionPointIndex);
826
object connectorLocation = this.
ViewStateService
.RetrieveViewState(connectorModelItem, ConnectorLocationViewStateKey);
833
object srcConnPointIndex = this.
ViewStateService
.RetrieveViewState(connectorModelItem, SrcConnectionPointIndexStateKey);
834
object destConnPointIndex = this.
ViewStateService
.RetrieveViewState(connectorModelItem, DestConnectionPointIndexStateKey);
901
this.
ViewStateService
.StoreViewState(connectorModelItem, ConnectorLocationViewStateKey, connectorPoints);
990
this.
ViewStateService
.StoreViewState(connectorModelItem, ConnectorLocationViewStateKey, connectorPoints);
1316
this.
ViewStateService
.StoreViewState(storageModelItem, ShapeSizeViewStateKey, ((UIElement)sender).DesiredSize);
1524
PointCollection existingViewState = this.
ViewStateService
.RetrieveViewState(connectorModelItem, ConnectorLocationViewStateKey) as PointCollection;
1667
this.
ViewStateService
.StoreViewState(
1674
this.
ViewStateService
.StoreViewState(
1983
object viewState = this.
ViewStateService
.RetrieveViewState(droppedModelItem, ShapeLocationViewStateKey);
2274
object viewState = this.
ViewStateService
.RetrieveViewState(modelItem, ShapeLocationViewStateKey);
2540
this.OldViewState = editor.
ViewStateService
.RetrieveViewState(this.ViewStateOwnerModelItem, ConnectorLocationViewStateKey);
2559
editor.
ViewStateService
.StoreViewState(this.ViewStateOwnerModelItem, ConnectorLocationViewStateKey, this.NewViewState);