1 type derived from ModelItemCollection
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
21class ModelItemCollectionImpl : ModelItemCollection, IModelTreeItem
85 references to ModelItemCollection
System.Data (85)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (2)
417ModelItemCollection itemsCollection = itemsCollectionProp.Collection; 430ModelItemCollection itemsCollection = itemsCollectionProp.Collection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (5)
42ModelItemCollection collection = this.GetRawCollection(); 307ModelItemCollection collection = this.GetRawCollection(); 395internal ModelItemCollection GetRawCollection() 406ModelItemCollection modelItemCollection = parentAsIndexer.ModelItem as ModelItemCollection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
250typeof(ModelItemCollection), null).DependencyProperty;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelProperty.cs (1)
56public abstract ModelItemCollection Collection { get; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DynamicActivityPropertyUtilities.cs (1)
13public static DynamicActivityProperty Find(ModelItemCollection properties, string propertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\CollectionChange.cs (1)
12public ModelItemCollection Collection { get; set; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
30public override ModelItemCollection Collection
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
86ModelItemCollection ItemsCollectionModelItemCollection
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (7)
149internal static bool TryGetPropertyValue(this ModelItem item, out ModelItemCollection value, params string[] path) 156value = (ModelItemCollection)temp; 308if (modelItem.Parent is ModelItemCollection) 310sb.Insert(0, "[" + ((ModelItemCollection)modelItem.Parent).IndexOf(modelItem).ToString(CultureInfo.InvariantCulture) + "]"); 396ModelItemCollection segmentCollection = GetModelItemFromSegment(currentModelItem, collectionProperty) as ModelItemCollection; 455internal static string GetUniqueName(this ModelItemCollection collection, string nameDefaultPrefix, Func<ModelItem, string> nameGetter)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (3)
48public override ModelItemCollection Collection 52return this.Value as ModelItemCollection; 120get { return this.Value is ModelItemCollection; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (3)
288ModelItemCollection variables = VariableHelper.GetVariableCollection(modelItem); 359ModelItemCollection arguments = argumentsProperty.Collection; 395private ModelItem GetTopmostSelectedArgument(Selection selection, ModelItemCollection arguments)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (6)
448ModelItemCollection collection = currentModelItem as ModelItemCollection; 1008ModelItemCollection collection = vertex as ModelItemCollection; 1160ModelItemCollection collection = backPointer.DestinationVertex as ModelItemCollection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\MorphHelper.cs (3)
72where parent is ModelItemCollection 73select (ModelItemCollection)parent; 74foreach (ModelItemCollection collectionParent in collectionParents.ToList())
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (11)
147ModelItemCollection GetArgumentCollection() 160ModelItemCollection argumentCollection = this.GetArgumentCollection(); 176ModelItemCollection arguments = this.GetArgumentCollection(); 398ModelItemCollection collection = (ModelItemCollection)arg.ReflectedObject.Parent; 535ModelItemCollection argumentsCollection = this.GetArgumentCollection(); 1154ModelItemCollection attributes = this.ReflectedObject.Properties["Attributes"].Collection; 1160ModelItemCollection attributes = this.ReflectedObject.Properties["Attributes"].Collection; 1170ModelItemCollection attributes = this.ReflectedObject.Properties["Attributes"].Collection; 1299ModelItemCollection argumentCollection = (ModelItemCollection)this.ReflectedObject.Parent;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (2)
65ModelItemCollection importsModelItem; 755ModelItemCollection importsCollection = modelService.Root.Properties[NamespaceListPropertyDescriptor.ImportCollectionPropertyName].Collection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportedNamespaceContextItem.cs (1)
45ModelItemCollection importsModelItem = modelService.Root.Properties[NamespaceListPropertyDescriptor.ImportCollectionPropertyName].Collection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelPropertyViewModel.cs (2)
84ModelItemCollection mc = this.Value.Value as ModelItemCollection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (5)
271internal static void AddModelItemCollection(TreeViewItemViewModel parent, ModelItemCollection collection, ModelProperty trackingProperty) 329ModelItemCollection mc = property.Value as ModelItemCollection; 366ModelItemCollection mc = property.Value as ModelItemCollection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (2)
37ModelItemCollection collection = expected as ModelItemCollection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (19)
39typeof(ModelItemCollection), 101public ModelItemCollection CurrentVariableScope 103get { return (ModelItemCollection)GetValue(CurrentVariableScopeProperty); } 115ModelItemCollection scope = this.GetDefaultVariableScope(); 141ModelItemCollection container = VariableHelper.GetVariableCollection(oldVariableWrapper.ReflectedObject.Parent.Parent); 214ModelItemCollection GetDefaultVariableScope() 375ModelItemCollection newVariableScope = VariableHelper.GetVariableCollection(element); 477ModelItemCollection collection = (ModelItemCollection)arg.ReflectedObject.Parent; 762internal static ModelItemCollection GetVariableCollection(this ModelItem element) 792var contained = VariableHelper.GetVariableCollection(element); 852ModelItemCollection variablesInElement = VariableHelper.GetVariableCollection(element); 872ModelItemCollection variablesInElement = VariableHelper.GetVariableCollection(element); 895internal static bool ContainsVariable(this ModelItemCollection variableContainer, string variableName) 911internal static string CreateUniqueVariableName(this ModelItemCollection variableContainer, string namePrefix, int countStartValue) 1219ModelItemCollection variableContainer = (ModelItemCollection)this.ReflectedObject.Parent; 1266ModelItemCollection currentScopeContainer = this.ReflectedObject.Parent.Parent.Properties["Variables"].Collection; 1269ModelItemCollection newScopeContainer = scope.Properties["Variables"].Collection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1977ModelItemCollection variablesCollection = currentItem.GetVariableCollection();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (7)
38DependencyProperty.Register("Items", typeof(ModelItemCollection), typeof(WorkflowItemsPresenter), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowItemsPresenter.OnItemsChanged))); 155public ModelItemCollection Items 157get { return (ModelItemCollection)GetValue(ItemsProperty); } 199itemsPresenter.OnItemsChanged((ModelItemCollection)e.OldValue, (ModelItemCollection)e.NewValue); 208void OnItemsChanged(ModelItemCollection oldItemsCollection, ModelItemCollection newItemsCollection)