20 references to ConnectorLocationViewStateKey
System.Activities.Core.Presentation (20)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (4)
327
this.ViewStateService.RemoveViewState(transitionModelItem,
ConnectorLocationViewStateKey
);
507
object viewState = this.ViewStateService.RetrieveViewState(modelItem,
ConnectorLocationViewStateKey
);
521
this.ViewStateService.StoreViewStateWithUndo(modelItem,
ConnectorLocationViewStateKey
, newLocations);
525
this.ViewStateService.StoreViewState(modelItem,
ConnectorLocationViewStateKey
, newLocations);
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (1)
301
else if (e.Key.Equals(
ConnectorLocationViewStateKey
) && !this.GetStateMachineContainerEditor().internalViewStateChange)
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (4)
59
this.ViewStateService.StoreViewStateWithUndo(connectorModelItem,
ConnectorLocationViewStateKey
, null);
77
this.ViewStateService.StoreViewStateWithUndo(this.ModelItem,
ConnectorLocationViewStateKey
, null);
270
this.ViewStateService.StoreViewStateWithUndo(connectorModelItem,
ConnectorLocationViewStateKey
, viewState);
274
this.ViewStateService.StoreViewState(connectorModelItem,
ConnectorLocationViewStateKey
, viewState);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (6)
826
object connectorLocation = this.ViewStateService.RetrieveViewState(connectorModelItem,
ConnectorLocationViewStateKey
);
901
this.ViewStateService.StoreViewState(connectorModelItem,
ConnectorLocationViewStateKey
, connectorPoints);
990
this.ViewStateService.StoreViewState(connectorModelItem,
ConnectorLocationViewStateKey
, connectorPoints);
1524
PointCollection existingViewState = this.ViewStateService.RetrieveViewState(connectorModelItem,
ConnectorLocationViewStateKey
) as PointCollection;
2540
this.OldViewState = editor.ViewStateService.RetrieveViewState(this.ViewStateOwnerModelItem,
ConnectorLocationViewStateKey
);
2559
editor.ViewStateService.StoreViewState(this.ViewStateOwnerModelItem,
ConnectorLocationViewStateKey
, this.NewViewState);
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
147
this.ViewStateService.RemoveViewState(stateMachineModelItem, StateContainerEditor.
ConnectorLocationViewStateKey
);
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (4)
164
PointCollection thisPointCollection = this.ViewStateService.RetrieveViewState(this.ModelItem, StateContainerEditor.
ConnectorLocationViewStateKey
) as PointCollection;
171
PointCollection pointCollection = this.ViewStateService.RetrieveViewState(transitionModelItem, StateContainerEditor.
ConnectorLocationViewStateKey
) as PointCollection;
464
PointCollection thisPointCollection = this.ViewStateService.RetrieveViewState(this.ModelItem, StateContainerEditor.
ConnectorLocationViewStateKey
) as PointCollection;
478
this.ViewStateService.StoreViewState(newTransitionItem, StateContainerEditor.
ConnectorLocationViewStateKey
, newTransitionViewState);