18 references to PropertyNames
System.Activities.Core.Presentation (18)
System\Activities\Core\Presentation\CatchDesigner.xaml.cs (1)
122
return
PropertyNames
.ExceptionType;
System\Activities\Core\Presentation\MorphHelpers.cs (15)
73
ModelItem originalActivityActionArgument = originalValue.Properties[
PropertyNames
.ActionArgument].Value;
78
iterationDelegateArgument.Name = (string)originalActivityActionArgument.Properties[
PropertyNames
.NameProperty].Value.GetCurrentValue();
79
morphed.Properties[
PropertyNames
.ActionArgument].SetValue(iterationDelegateArgument);
82
ModelItem originalActivityActionHandler = originalValue.Properties[
PropertyNames
.ActionHandler].Value;
85
morphed.Properties[
PropertyNames
.ActionHandler].SetValue(originalActivityActionHandler);
86
originalValue.Properties[
PropertyNames
.ActionHandler].SetValue(null);
101
ModelItem originalActivityFuncArgument = originalValue.Properties[
PropertyNames
.ActionArgument].Value;
106
newActivityActionArgument.Name = (string)originalActivityFuncArgument.Properties[
PropertyNames
.NameProperty].Value.GetCurrentValue();
107
morphed.Properties[
PropertyNames
.ActionArgument].SetValue(newActivityActionArgument);
110
ModelItem originalActivityFuncResult = originalValue.Properties[
PropertyNames
.ResultProperty].Value;
115
newActivityActionResult.Name = (string)originalActivityFuncResult.Properties[
PropertyNames
.NameProperty].Value.GetCurrentValue();
116
morphed.Properties[
PropertyNames
.ResultProperty].SetValue(newActivityActionResult);
119
ModelItem originalActivityActionHandler = originalValue.Properties[
PropertyNames
.ActionHandler].Value;
122
morphed.Properties[
PropertyNames
.ActionHandler].SetValue(originalActivityActionHandler);
123
originalValue.Properties[
PropertyNames
.ActionHandler].SetValue(null);
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (2)
345
catchType.GetProperty(
PropertyNames
.Action).SetValue(catchObject, activityAction, null);
346
activityActionType.GetProperty(
PropertyNames
.ActionArgument).SetValue(activityAction, exceptionArgument, null);