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