1 write to _dataManager
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
720_dataManager = newDataManager;
24 references to _dataManager
System.Windows.Forms (24)
System\Windows\Forms\Controls\ListControl\ListControl.cs (24)
97protected CurrencyManager? DataManager => _dataManager; 357if (SelectedIndex != -1 && _dataManager is not null) 359object? currentItem = _dataManager[SelectedIndex]; 367if (_dataManager is not null) 377PropertyDescriptorCollection props = _dataManager.GetItemProperties(); 379int index = _dataManager.Find(property, value); 395if (_dataManager is not null) 399SelectedIndex = _dataManager.Position; 407if (_dataManager is not null) 411SetItemsCore(_dataManager.List); 414SelectedIndex = _dataManager.Position; 419SetItemCore(e.Index, _dataManager[e.Index]!); 712if (_dataManager != newDataManager) 714if (_dataManager is not null) 716_dataManager.ItemChanged -= DataManager_ItemChanged; 717_dataManager.PositionChanged -= DataManager_PositionChanged; 722if (_dataManager is not null) 724_dataManager.ItemChanged += DataManager_ItemChanged; 725_dataManager.PositionChanged += DataManager_PositionChanged; 732if (_dataManager is not null && (displayMemberChanged || dataSourceChanged) && !string.IsNullOrEmpty(_displayMember.BindingMember)) 734if (!BindingMemberInfoInDataManager(_dataManager, _displayMember)) 740if (_dataManager is not null && (dataSourceChanged || displayMemberChanged || force)) 745if (displayMemberChanged || (force && (currentList != _dataManager.List || currentManagerIsNull))) 747DataManager_ItemChanged(_dataManager, new ItemChangedEventArgs(-1));