59 references to Items
mscorlib (8)
system\collections\objectmodel\keyedcollection.cs (8)
67foreach (TItem item in Items) { 86foreach (TItem item in Items) { 96return Items.Contains(item); 121for (int i = 0; i < Items.Count; i++) { 122if (comparer.Equals(GetKeyForItem(Items[i]), key)) { 173TKey key = GetKeyForItem(Items[index]); 182TKey oldKey = GetKeyForItem(Items[index]); 220foreach (TItem item in Items) {
PresentationCore (12)
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (12)
57List<Stroke> items = (List<Stroke>)this.Items; 310( (List<Stroke>)removed.Items ).Add(this[x]); 328( (List<Stroke>)removed.Items ).Add(removedStroke); 349( (List<Stroke>)addedStrokes.Items ).Add(stroke); 371( (List<Stroke>)removed.Items ).Add(removedStroke); 374( (List<Stroke>)added.Items ).Add(stroke); 437( (List<Stroke>)this.Items ).RemoveAt(indexes[x]); 477( (List<Stroke>)this.Items ).AddRange(strokes); 558( (List<Stroke>)this.Items ).RemoveAt(indexes[x]); 564( (List<Stroke>)this.Items ).InsertRange(indexes[0], strokesToReplaceWith); 577( (List<Stroke>)this.Items ).Add(stroke); 890( (List<Stroke>)this.Items ).AddRange(strokeCollection);
PresentationFramework (12)
src\Framework\MS\Internal\Annotations\AnnotationObservableCollection.cs (1)
168Items[index] = item; // directly set Collection<T> inner Items collection
src\Framework\MS\Internal\Annotations\AnnotationResourceCollection.cs (1)
85Items.Clear(); // directly clear Collection<T> inner Items collection
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (1)
126Items[index] = item; // directly set Collection<T> inner Items collection
src\Framework\MS\Internal\Data\DifferencingCollection.cs (3)
53IList<object> list = Items; 230Items.Add(o); 237Items.Clear();
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (4)
167foreach (CalendarDateRange item in Items) 213UnRegisterItem(Items[index]); 237oldItem = Items[index]; 243RegisterItem(Items[index]);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
214ToolBar currentToolBar = Items[index];
src\Framework\System\Windows\PropertyPath.cs (1)
1003IList<object> items = Items;
System (3)
compmod\system\collections\objectmodel\observablecollection.cs (1)
92IList<T> items = Items;
compmod\system\componentmodel\BindingList.cs (2)
79foreach (T item in this.Items) { 215foreach (T item in this.Items) {
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (5)
40return ((List<T>)base.Items).BinarySearch(value, comparer); 45((List<T>)base.Items).Sort(); 52((List<T>)base.Items).Sort(comparer); 59((List<T>)base.Items).Sort(comparison); 66((List<T>)base.Items).Reverse();
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (5)
40return ((List<T>)base.Items).BinarySearch(value, comparer); 45((List<T>)base.Items).Sort(); 52((List<T>)base.Items).Sort(comparer); 59((List<T>)base.Items).Sort(comparison); 66((List<T>)base.Items).Reverse();
System.Data.Linq (1)
SortableBindingList.cs (1)
49((List<T>)this.Items).Sort(new PropertyComparer(prop, direction));
System.IdentityModel (2)
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
503SecurityTokenHandler removedItem = Items[index]; 515SecurityTokenHandler replaced = Items[index];
System.ServiceModel (5)
System\ServiceModel\ServiceHost.cs (1)
2070foreach (ContractDescription contract in this.Items)
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (4)
41for (int i = 0; i < source.Items.Count; ++i) 43base.Add(source.Items[i]); 151for (int i = 0; i < this.Items.Count; ++i) 153this.Items[i].WriteTo(writer);
System.Web.DataVisualization (2)
Common\General\BaseCollections.cs (1)
88get { return Items as List<T>; }
Common\General\Legend.cs (1)
5149List<LegendItem> list = this.Items as List<LegendItem>;
System.Windows.Forms (2)
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (2)
20for (int i = this.Items.Count - 1; i >= 0; --i) 22FileDialogCustomPlace customPlace = this.Items[i];
System.Windows.Forms.DataVisualization (2)
Common\General\BaseCollections.cs (1)
88get { return Items as List<T>; }
Common\General\Legend.cs (1)
5149List<LegendItem> list = this.Items as List<LegendItem>;