39 references to List
System.Windows.Forms (39)
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (1)
131list = ((CurrencyManager)this).List;
winforms\Managed\System\WinForms\CurrencyManager.cs (2)
166return ListBindingHelper.GetListItemType(this.List); 991if (e.NewIndex <= lastGoodKnownRow && lastGoodKnownRow < this.List.Count - 1)
winforms\Managed\System\WinForms\DataGrid.cs (9)
402IList list = this.listManager.List; 950int currentListManagerCount = this.ListManager.List.Count; 955currentListManagerCount != this.ListManager.List.Count) { 960if (this.ListManager.List.Count > 0) { 979int currentListManagerCount = this.ListManager.List.Count; 984currentListManagerCount != this.ListManager.List.Count) { 989if (this.ListManager.List.Count > 0) { 3207IList list = this.listManager.List; 9499IBindingList bl = listManager == null ? null : listManager.List as IBindingList;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (6)
1671if ((this.DataManager.List is IBindingList) && ((IBindingList)this.DataManager.List).SupportsSearching) 1673int index = ((IBindingList)this.DataManager.List).Find(property, key); 1676item = this.DataManager.List[index]; 1682for (int i = 0; i < this.DataManager.List.Count; i++) 1684object itemTmp = this.DataManager.List[i];
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (18)
97return (this.currencyManager.List is IBindingList) && this.currencyManager.AllowAdd && ((IBindingList)this.currencyManager.List).SupportsChangeNotification; 128return (this.currencyManager.List is IBindingList) && this.currencyManager.AllowRemove && ((IBindingList)this.currencyManager.List).SupportsChangeNotification; 195return this.currencyManager.List; 400IBindingList ibl = this.currencyManager != null ? this.currencyManager.List as IBindingList : null; 573else if (this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] && this.currencyManager.List.Count == 0) 590this.currencyManager.List.Count == (this.owner.AllowUserToAddRowsInternal ? this.owner.Rows.Count - 1 : this.owner.Rows.Count)) 604Debug.Assert(this.currencyManager.List.Count == 1); 625Debug.Assert(this.currencyManager.List.Count == 0, "we deleted the row that the Child table forcefully added"); 644else if (this.currencyManager.List.Count == DataBoundRowsCount()) 822IBindingList ibl = this.currencyManager.List as IBindingList; 915if (this.owner.newRowIndex == this.currencyManager.List.Count) 923Debug.Assert(this.owner.newRowIndex == this.currencyManager.List.Count - 1); 1061IBindingList ibl = this.currencyManager != null ? this.currencyManager.List as IBindingList : null; 1390if (this.currencyManager.Position >= 0 && this.currencyManager.Position < this.currencyManager.List.Count ) 1402if (this.currencyManager.Position >= 0 && this.currencyManager.Position < this.currencyManager.List.Count ) 1497Debug.Assert(DataBoundRowsCount() == this.currencyManager.List.Count, "if the back end was changed while in AddNew the DGV should have updated its rows collection");
winforms\Managed\System\WinForms\ListControl.cs (3)
459SetItemsCore(dataManager.List); 754IList currentList = this.DataManager != null ? this.DataManager.List : null; 802if (displayMemberChanged || (force && (currentList != this.dataManager.List || currentManagerIsNull))) {