5 writes to DisplayName
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\Factories\StateMachineWithInitialStateFactory.cs (1)
27
DisplayName
= StateContainerEditor.DefaultStateDisplayName + "1"
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (2)
347
state = new State() {
DisplayName
= DefaultFinalStateDisplayName, IsFinal = true };
354
state.
DisplayName
= DefaultStateDisplayName;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
1934
((State)droppedObject).
DisplayName
= GenerateStateName();
1943
DisplayName
= DefaultFinalStateDisplayName,
17 references to DisplayName
System.Activities (13)
System\Activities\Statements\InternalState.cs (1)
58
this.DisplayName = state.
DisplayName
;
System\Activities\Statements\StateMachine.cs (12)
307
SR.FinalStateCannotHaveProperty(state.
DisplayName
, ExitProperty),
316
SR.FinalStateCannotHaveTransition(state.
DisplayName
),
327
SR.SimpleStateMustHaveOneTransition(state.
DisplayName
),
347
SR.TransitionCannotBeAddedTwice(transition.DisplayName, currentState.
DisplayName
, transition.Source.
DisplayName
),
361
SR.TransitionTargetCannotBeNull(transition.DisplayName, currentState.
DisplayName
),
371
transition.To.
DisplayName
),
406
currentState.
DisplayName
,
418
currentState.
DisplayName
),
490
SR.InitialStateCannotBeFinalState(this.InitialState.
DisplayName
),
499
metadata.AddValidationError(SR.InitialStateNotInStatesCollection(this.InitialState.
DisplayName
));
549
SR.StateCannotBeAddedTwice(state.
DisplayName
),
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (2)
215
errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, sourceState.
DisplayName
);
352
if (state.
DisplayName
== null)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
1932
if (((State)droppedObject).
DisplayName
== null)
2165
existingStateNames.Add(((State)stateModelItem.GetCurrentValue()).
DisplayName
);