8 writes to Position
System.Windows.Forms (8)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
632_bindingSource.Position = newPosition;
System\Windows\Forms\DataBinding\BindingSource.cs (7)
769public void MoveFirst() => Position = 0; 771public void MoveLast() => Position = Count - 1; 773public void MoveNext() => Position++; 775public void MovePrevious() => Position--; 947Position = (Count > 0 ? 0 : -1); 1601Position = Count - 1; 1627Position = _addNewPos;
12 references to Position
System.Windows.Forms (12)
System\Windows\Forms\DataBinding\BindingNavigator.cs (3)
509position = _bindingSource.Position + 1; 612int newPosition = _bindingSource.Position; 630if (newPosition != _bindingSource.Position)
System\Windows\Forms\DataBinding\BindingSource.cs (9)
757index = Position; 940currentItemChanged = ((_lastCurrentItem is null) || (cm.Count == 0) || (_lastCurrentItem != cm.Current) || (Position >= Count)); 1020if (Position < 0 || Position >= Count) 1025RemoveAt(Position); 1047OnListChanged(new ListChangedEventArgs(ListChangedType.ItemChanged, Position)); 1237if (Position >= 0 && Position <= Count - 1) 1620_addNewPos = Position;