13 references to InitialStatePropertyName
System.Activities.Core.Presentation (13)
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
109
if (e.PropertyName == StateMachineDesigner.
InitialStatePropertyName
)
230
ModelItem initialStateModelItem = this.ModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].Value;
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (4)
56
connectorModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].SetValue(null);
74
stateModelItem == this.ModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].Value)
76
this.ModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].SetValue(null);
190
this.StateMachineModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].SetValue(stateModelItem);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (3)
635
if (stateMachineModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].Value == stateModelItem)
2398
this.ModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].SetValue(droppedModelItem);
2430
if (this.ModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].Value != null)
System\Activities\Core\Presentation\StateDesigner.xaml.cs (2)
135
e.CanExecute = (!this.IsReadOnly && stateMachineModelItem != null && this.ModelItem != stateMachineModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].Value &&
148
stateMachineModelItem.Properties[StateMachineDesigner.
InitialStatePropertyName
].SetValue(this.ModelItem.GetCurrentValue());
System\Activities\Core\Presentation\StateMachineDesigner.xaml.cs (2)
55
builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.
InitialStatePropertyName
), BrowsableAttribute.No);
56
builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.
InitialStatePropertyName
), new ShowPropertyInOutlineViewAttribute() { DuplicatedChildNodesVisible = true });