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