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