159 references to
System.Data (159)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (3)
265ModelItem caseValue = caseObject.Properties["Value"].Value; 415ModelProperty itemsCollectionProp = cases.Properties["ItemsCollection"]; 429ModelProperty itemsCollectionProp = cases.Properties["ItemsCollection"];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateInfo.cs (1)
18this.DelegateType = this.ModelItem.Properties[this.PropertyName].PropertyType;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (3)
136this.Arguments.Add(this.ActivityDelegate.Properties[argument.Name].Value); 140this.Handler = this.ActivityDelegate.Properties["Handler"].Value; 168modelItem.Properties["Handler"].SetValue(this.Handler);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (3)
237this.hasAnnotation = this.ModelItem.Properties[Annotation.AnnotationTextPropertyName].ComputedValue != null; 239if (this.ModelItem.Properties[Annotation.AnnotationTextPropertyName].ComputedValue == null) 364this.hasAnnotation = this.ModelItem.Properties[Annotation.AnnotationTextPropertyName].ComputedValue != null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
764ModelProperty subProperty = item.Properties[subPropertyDescriptor.Name];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
554ModelProperty inlinesProperty = textBlockTextProperty.Parent.Properties[_textBlockInlinesPropertyName];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (1)
138modelItem.Properties[Annotation.AnnotationTextPropertyName].SetValue(null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (3)
26argumentModelItem.Properties["Expression"] != null && 27argumentModelItem.Properties["Expression"].Value != null) 29convertedValue = argumentModelItem.Properties["Expression"].Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (3)
33argumentModelItem.Properties["Expression"] != null && 34argumentModelItem.Properties["Expression"].Value != null) 36convertedValue = argumentModelItem.Properties["Expression"].Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (1)
31ModelProperty nameProperty = modelItem.Properties["Name"];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
471if (this.Content.Properties[propertyName] != null)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (2)
368ModelProperty argumentProperty = parentObject.Properties[argumentModelItem.Source.Name]; 376ModelItem newExpressionModel = newArgumentModel.Properties["Expression"].Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelItemImpl.cs (1)
47valueAsTreeItem.RemoveSource(this.Properties[propertyName]);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (2)
53if (string.Equals((string)modelItem.Properties["DisplayName"].ComputedValue, GetActivityDefaultName(oldModelItemType), StringComparison.Ordinal)) 55newModelItem.Properties["DisplayName"].SetValue(GetActivityDefaultName(newModelItemType));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (14)
90return this.Properties["ItemsCollection"].Collection; 180ModelItem key = item.Properties["Key"] == null ? null : item.Properties["Key"].Value; 181ModelItem value = item.Properties["Value"] == null ? null : item.Properties["Value"].Value; 189object keyObject = item.Properties["Key"].Value == null ? null : item.Properties["Key"].Value.GetCurrentValue(); 203object keyObject = item.Properties["Key"].Value == null ? null : item.Properties["Key"].Value.GetCurrentValue(); 207ModelItem value = item.Properties["Value"] == null ? null : item.Properties["Value"].Value; 678ModelItem keyInCollection = item.Properties["Key"].Value; 696ModelPropertyImpl valueImpl = item.Properties["Value"] as ModelPropertyImpl; 909ModelItem keyInCollection = item.Properties["Key"].Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (5)
195ModelProperty property = value.Properties[path[i]]; 232ModelProperty property = item.Properties[path[i]]; 423ModelProperty property = currentModelItem.Properties[segment]; 900var displayProperty = this.itemToFocus.Properties["DisplayName"]; 988var displayProperty = this.itemToFocus.Properties["DisplayName"];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (10)
146ModelProperty displayNameProperty = modelItem.Properties[DisplayNamePropertyName]; 294TypeNameHelper.GetDisplayName(variable.Properties[DesignTimeVariable.VariableTypeProperty].ComputedValue as Type, false), null)); 297variable.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue.ToString(), null)); 299object propertyValue = variable.Properties[DesignTimeVariable.VariableDefaultProperty].ComputedValue; 309string annotationText = (string)variable.Properties[Annotation.AnnotationTextPropertyName].ComputedValue; 354ModelProperty argumentsProperty = this.modelService.Root.Properties["Properties"]; 371TypeNameHelper.GetDisplayName(argument.Properties["Type"].ComputedValue as Type, false), null)); 374argument.Properties[DesignTimeArgument.ArgumentNameProperty].ComputedValue.ToString(), null)); 376IList<string> argumentValues = GetSearchableStrings(argument.Properties[DesignTimeArgument.ArgumentDefaultValueProperty].ComputedValue); 385string annotationText = (string)argument.Properties[Annotation.AnnotationTextPropertyName].ComputedValue;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
1079ModelProperty modelProperty = edge.SourceVertex.Properties[edge.PropertyName]; 1102ModelProperty modelProperty = edge.SourceVertex.Properties[edge.PropertyName];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\MorphHelper.cs (1)
104ModelProperty propertyInNewModelItem = newModelitem.Properties[modelProperty.Name];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
39ModelPropertyImpl dataModelProperty = (ModelPropertyImpl)this.Owner.Properties[this.PropertyName];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (1)
106ModelProperty changedProperty = rootModel.Properties[e.PropertyName];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
750ModelProperty property = root.Properties["Properties"];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (41)
151Fx.Assert(this.ActivitySchema.Properties[Members] != null, "Members collection not found!"); 152return this.ActivitySchema.Properties[Members].Collection; 161return argumentCollection.GetUniqueName(ArgumentDesigner.DefaultArgumentName, (arg) => ((string)arg.Properties["Name"].ComputedValue)); 275if (null != newSchemaItem && null != newSchemaItem.Properties[Members]) 395this.ClearCaseInsensitiveDuplicates(arg.GetArgumentName(), (string)arg.ReflectedObject.Properties["Name"].ComputedValue); 407this.CheckCaseInsensitiveDuplicates(arg.GetArgumentName(), (string)arg.ReflectedObject.Properties["Name"].ComputedValue); 461return argument.Content.Properties[DesignTimeArgument.ArgumentDefaultValueProperty]; 472Func<DesignTimeArgument, bool> checkForDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifierName)); 491Func<DesignTimeArgument, bool> checkForOldNameDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifier)); 517if (null != oldItem && null != oldItem.Properties[Members]) 519oldItem.Properties[Members].Collection.CollectionChanged -= designer.OnArgumentCollectionChanged; 521if (null != newItem && null != newItem.Properties[Members]) 523newItem.Properties[Members].Collection.CollectionChanged += designer.OnArgumentCollectionChanged; 541argument.Properties[ArgumentNamePropertyName].SetValue(newName); 677variable.Content.Properties[DesignTimeArgument.AnnotationTextProperty].SetValue(annotationText); 704dialog.AnnotationText = variable.Content.Properties[DesignTimeArgument.AnnotationTextProperty].ComputedValue as string; 717variable.Content.Properties[DesignTimeArgument.AnnotationTextProperty].SetValue(annotationText); 737variable.Content.Properties[DesignTimeArgument.AnnotationTextProperty].ClearValue(); 776this.ReflectedObject.Properties["Attributes"].Collection.CollectionChanged += new NotifyCollectionChangedEventHandler(OnAttributesChanged); 779IdentifierName = (string)argument.Properties[ArgumentNameProperty].ComputedValue 790this.ReflectedObject.Properties["Attributes"].Collection.CollectionChanged -= new NotifyCollectionChangedEventHandler(OnAttributesChanged); 919return (string)this.ReflectedObject.Properties[ArgumentNameProperty].ComputedValue; 963this.Editor.UpdateArgumentName(this, name, (string)this.ReflectedObject.Properties[ArgumentNameProperty].ComputedValue); 971Type result = (Type)this.ReflectedObject.Properties["Type"].ComputedValue; 985this.ReflectedObject.Properties["Type"].SetValue(propertyType); 995Type argumentType = (Type)this.ReflectedObject.Properties["Type"].ComputedValue; 1017this.ReflectedObject.Properties["Type"].SetValue(propertyType); 1104this.ReflectedObject.Properties[DesignTimeArgument.ArgumentDefaultValueProperty].SetValue(value); 1109ModelItem value = this.ReflectedObject.Properties[DesignTimeArgument.ArgumentDefaultValueProperty].Value; 1154ModelItemCollection attributes = this.ReflectedObject.Properties["Attributes"].Collection; 1160ModelItemCollection attributes = this.ReflectedObject.Properties["Attributes"].Collection; 1170ModelItemCollection attributes = this.ReflectedObject.Properties["Attributes"].Collection; 1302argumentCollection.Any<ModelItem>(p => string.Equals(p.Properties["Name"].ComputedValue, name) && !ModelItem.Equals(p, this.ReflectedObject)); 1391this.ReflectedObject.Properties[ArgumentDefaultValueProperty].SetValue(value); 1396this.ReflectedObject.Properties[ArgumentDefaultValueProperty].ClearValue(); 1401this.ReflectedObject.Properties[ArgumentDefaultValueProperty].ClearValue(); 1406this.ReflectedObject.Properties[ArgumentDefaultValueProperty].ClearValue(); 1411Argument currentArgument = this.ReflectedObject.Properties[ArgumentDefaultValueProperty].ComputedValue as Argument; 1436this.ReflectedObject.Properties[ArgumentDefaultValueProperty].SetValue(newArgument); 1441this.ReflectedObject.Properties[ArgumentDefaultValueProperty].ClearValue(); 1446this.ReflectedObject.Properties[ArgumentDefaultValueProperty].ClearValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1665item.Properties[Annotation.AnnotationTextPropertyName].ClearValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (8)
234if ((import != null) && !((bool)import.Properties[IsInvalidPropertyName].ComputedValue)) 323namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Format(CultureInfo.CurrentCulture, SR.CannotResolveNamespace, namespaceData.Namespace)); 324namespaceModel.Properties[IsInvalidPropertyName].SetValue(true); 328namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Empty); 329namespaceModel.Properties[IsInvalidPropertyName].SetValue(false); 448this.importsModelItem = modelService.Root.Properties[NamespaceListPropertyDescriptor.ImportCollectionPropertyName].Collection; 458this.availableNamespaces = this.importsModelItem.Properties[NamespaceListPropertyDescriptor.AvailableNamespacesPropertyName].ComputedValue as Dictionary<string, List<string>>; 755ModelItemCollection importsCollection = modelService.Root.Properties[NamespaceListPropertyDescriptor.ImportCollectionPropertyName].Collection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportedNamespaceContextItem.cs (2)
45ModelItemCollection importsModelItem = modelService.Root.Properties[NamespaceListPropertyDescriptor.ImportCollectionPropertyName].Collection; 49this.ImportedNamespaces.Add(import.Properties[NamespaceListPropertyDescriptor.NamespacePropertyName].ComputedValue as string);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (2)
35this.promotedProperty = modelItem.Properties[attr.PromotedProperty]; 163if (modelProperty.Value.Properties[changedPropertyName].Value != null)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (34)
160Func<DesignTimeVariable, bool> checkForDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifierName)); 179Func<DesignTimeVariable, bool> checkForOldNameDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.ReflectedObject.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifier)); 246p.Properties["Variables"].Collection.CollectionChanged -= OnVariableCollectionChanged; 266p.Properties["Variables"].Collection.CollectionChanged += OnVariableCollectionChanged; 476this.ClearCaseInsensitiveDuplicates(arg.GetVariableName(), (string)arg.ReflectedObject.Properties["Name"].ComputedValue); 486this.CheckCaseInsensitiveDuplicates(var.GetVariableName(), (string)var.ReflectedObject.Properties["Name"].ComputedValue); 542return variable.Content.Properties[DesignTimeVariable.VariableDefaultProperty]; 687variable.Content.Properties[DesignTimeVariable.AnnotationTextProperty].SetValue(annotationText); 714dialog.AnnotationText = variable.Content.Properties[DesignTimeVariable.AnnotationTextProperty].ComputedValue as string; 727variable.Content.Properties[DesignTimeVariable.AnnotationTextProperty].SetValue(annotationText); 747variable.Content.Properties[DesignTimeVariable.AnnotationTextProperty].ClearValue(); 770ModelProperty variablesProperty = element.Properties["Variables"]; 908return variableContainer.Any(p => string.Equals(p.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue, variableName)); 932if (!variables.Any(p => string.Equals(p.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue, name))) 1122IdentifierName = (string)modelItem.Properties[VariableNameProperty].ComputedValue 1137this.Editor.NotifyVariableNameChanged(this.identifierName, name, (string)this.ReflectedObject.Properties[VariableNameProperty].ComputedValue); 1138this.ReflectedObject.Properties[VariableNameProperty].SetValue(name); 1151return (string)this.ReflectedObject.Properties[VariableNameProperty].ComputedValue; 1180this.ReflectedObject.Properties[VariableModifiersProperty].SetValue( 1186return this.ReflectedObject.Properties[VariableModifiersProperty].ComputedValue; 1231ModelItem expressionModelItem = this.ReflectedObject.Properties[VariableDefaultProperty].Value; 1257return (Type)this.ReflectedObject.Properties[VariableTypeProperty].ComputedValue; 1266ModelItemCollection currentScopeContainer = this.ReflectedObject.Parent.Parent.Properties["Variables"].Collection; 1269ModelItemCollection newScopeContainer = scope.Properties["Variables"].Collection; 1285this.ReflectedObject.Properties[VariableDefaultProperty].SetValue(expression); 1290return this.ReflectedObject.Properties[VariableDefaultProperty].ComputedValue; 1412new Func<ModelItem, bool>(p => string.Equals(p.Properties[VariableNameProperty].ComputedValue, newName) && !object.Equals(p, this.ReflectedObject)); 1414bool duplicates = this.ReflectedObject.Parent.Parent.Properties["Variables"].Collection.Any(checkForDuplicates); 1437new Func<ModelItem, bool>(p => string.Equals(p.Properties[VariableNameProperty].ComputedValue, currentName) && !object.Equals(p, this.ReflectedObject)); 1439bool duplicates = scope.Properties["Variables"].Collection.Any(checkForDuplicates); 1494if (null != currentEntry.Properties["Variables"]) 1503if (null != entry.Properties["Variables"]) 1511var input = new object[] { entry, null != entry.Properties["DisplayName"] ? entry.Properties["DisplayName"].Value : null, (double)short.MaxValue };
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
208ModelItem nameModelItem = modelItem.Properties["Name"].Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (4)
1314this.expressionModelProperty = this.OwnerActivity.Properties[path[0]]; 1319this.expressionModelProperty = this.expressionModelProperty.Value.Properties[path[i]]; 1963string variableName = (string)variable.Properties["Name"].ComputedValue; 1991variableNames.Add(((string)variable.Properties["Name"].ComputedValue).ToUpperInvariant());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (4)
255foreach (ModelItem item in this.Item.Properties["Activities"].Collection) 799sequence.Properties["Activities"].Collection.Add(activity); 805sequence.Properties["Activities"].Collection.Add(e.ExistingActivity); 808sequence.Properties["Activities"].Collection.Insert(0, e.ExistingActivity);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1089ModelProperty property = modelItem.Properties[automationIdVariablePartMemberName];