64 references to ListManager
System.Windows.Forms (64)
winforms\Managed\System\WinForms\DataGrid.cs (58)
949int currentListManagerPosition = this.ListManager.Position; 950int currentListManagerCount = this.ListManager.List.Count; 954if (this.ListManager.Position != currentListManagerPosition || 955currentListManagerCount != this.ListManager.List.Count) { 960if (this.ListManager.List.Count > 0) { 961this.currentRow = this.ListManager.Position; 978int currentListManagerPosition = this.ListManager.Position; 979int currentListManagerCount = this.ListManager.List.Count; 983if (this.ListManager.Position != currentListManagerPosition || 984currentListManagerCount != this.ListManager.List.Count) { 989if (this.ListManager.List.Count > 0) { 990this.currentRow = this.ListManager.Position; 1024this.ListManager.PositionChanged -= positionChangedHandler; 1025this.ListManager.CancelCurrentEdit(); 1026this.ListManager.Position = this.currentRow; 1027this.ListManager.PositionChanged += positionChangedHandler; 1038ListManager.EndCurrentEdit(); 1059Debug.Assert(ListManager.Position == currentRow || listManager.Position == -1, "the listManager should be positioned at the last row"); 1062ListManager.Position = currentRow; 1082Debug.Assert(currentRow == ListManager.Position || listManager.Position == -1, "the position in the list manager (" + ListManager.Position + ") is out of sync with the currentRow (" + currentRow + ")" + " and the exception is '" + errorMessage + "'"); 1132Debug.Assert(currentRow == ListManager.Position || listManager.Position == -1, "the position in the list manager is out of sync with the currentRow"); 1351CurrencyManager listManager = ListManager; 1382CurrencyManager listManager = ListManager; 3117policy.UpdatePolicy(this.ListManager, this.ReadOnly); 3243if (this.ListManager.Position != currentRow) { 3358editColumn.UpdateUI(this.ListManager, ea.Index, null); 3690Debug.Assert(currentRow == ListManager.Position || listManager.Position == -1, "the position in the list manager (" + ListManager.Position + ") is out of sync with the currentRow (" + currentRow + ")" + " and the exception is '" + errorMessage + "'"); 4656this.ListManager.AddNew(); 5047CurrencyManager listManager = this.ListManager; 5180ListSortDirection direction = this.ListManager.GetSortDirection(); 5181PropertyDescriptor sortColumn = this.ListManager.GetSortProperty(); 5191this.ListManager.SetSort(prop, direction); 5240bool retVal = editColumn.Commit(ListManager, currentRow); 5943editColumn.Edit(this.ListManager, 6181if (myGridTable == null && this.ListManager != null) { 6182SetDataGridTable(this.TableStyles[this.ListManager.GetListName()], true); // true for forcing column creation 6938currentRow = this.ListManager.Position == -1 ? 0 : this.ListManager.Position; 7153sortProperty = this.ListManager.GetSortProperty(); 7167ListSortDirection direction = this.ListManager.GetSortDirection(); 7514if (currentRow < ListManager.Count) 7520string text = column.GetDisplayText(column.GetColumnValueAtRow(ListManager, currentRow)); 7544text += column.GetDisplayText(column.GetColumnValueAtRow(ListManager, i)); 7581if (this.ListManager != null) { 7589this.ListManager.RemoveAt(i - rowsDeleted); 7729Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 7762Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 7770Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 7776Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 7807Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 7846Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 7859Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 8071Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 8074Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 8126Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource"); 8129Debug.Assert(ListManager.Position == CurrentCell.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
winforms\Managed\System\WinForms\DataGridAddNewRow.cs (1)
107CurrencyManager listManager = DataGrid.ListManager;
winforms\Managed\System\WinForms\DataGridColumn.cs (1)
380CurrencyManager lm = value.ListManager;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
558CurrencyManager listManager = DataGrid.ListManager; 564object errInfo = DataGrid.ListManager[this.number];
winforms\Managed\System\WinForms\DataGridRow.cs (1)
620object errorInfo = DataGrid.ListManager[this.number];
winforms\Managed\System\WinForms\DataGridState.cs (1)
101this.ListManager = dataGrid.ListManager;