23 references to ConnectorCreationResult
System.Activities.Core.Presentation (23)
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (10)
148
internal
ConnectorCreationResult
CreateConnectorGesture(ConnectionPoint sourceConnectionPoint, ConnectionPoint destConnectionPoint, Connector referenceConnector, bool isConnectorStartMoved)
152
ConnectorCreationResult
result =
ConnectorCreationResult
.OtherFailure;
174
result =
ConnectorCreationResult
.Success;
184
result =
ConnectorCreationResult
.CannotSetFinalStateAsInitialState;
193
result =
ConnectorCreationResult
.Success;
202
internal
ConnectorCreationResult
CreateConnectorGesture(ConnectionPoint sourceConnectionPoint, UIElement dest, Connector referenceConnector, bool isConnectorStartMoved)
218
return
ConnectorCreationResult
.OtherFailure;
221
internal
ConnectorCreationResult
CreateConnectorGesture(UIElement source, ConnectionPoint destConnectionPoint, Connector referenceConnector, bool isConnectorStartMoved)
237
return
ConnectorCreationResult
.OtherFailure;
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (6)
493
static void ReportConnectorCreationError(
ConnectorCreationResult
result)
497
case
ConnectorCreationResult
.CannotCreateTransitionToCompositeState:
500
case
ConnectorCreationResult
.CannotCreateTransitionFromAncestorToDescendant:
503
case
ConnectorCreationResult
.CannotSetCompositeStateAsInitialState:
506
case
ConnectorCreationResult
.CannotSetFinalStateAsInitialState:
509
case
ConnectorCreationResult
.OtherFailure:
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (7)
1492
ConnectorCreationResult
result = CreateConnectorGesture(this.activeSrcConnectionPoint, destConnectionPoint, null, false);
1493
if (result !=
ConnectorCreationResult
.Success)
1581
ConnectorCreationResult
result =
ConnectorCreationResult
.OtherFailure;
1609
if (result ==
ConnectorCreationResult
.Success)
1744
ConnectorCreationResult
result = this.CreateConnectorGesture(this.activeSrcConnectionPoint, destElement, null, false);
1745
if (result !=
ConnectorCreationResult
.Success)