35 references to DataManager
System.Windows.Forms (32)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (12)
2620if (DataManager is not null && DataManager.Position != SelectedIndex) 2625DataManager.Position = SelectedIndex; 2984if (DataManager is not null && DataManager.Count != -1) 2986newItems = new object[DataManager.Count]; 2989newItems[i] = DataManager[i]!; 3013if (DataManager is not null) 3016SelectedIndex = DataManager.Position; 3280if (DataManager is not null) 3289PInvokeCore.SendMessage(this, PInvoke.CB_SETCURSEL, (WPARAM)DataManager.Position); 3293_selectedIndex = DataManager.Position;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (13)
1894if (DataManager is not null && DataManager.Position != SelectedIndex) 1901DataManager.Position = SelectedIndex; 1937if (SelectionMode != SelectionMode.None && DataManager is not null) 1939SelectedIndex = DataManager.Position; 1986if (DataManager is not null && DataManager.Count != -1) 1988newItems = new object[DataManager.Count]; 1991newItems[i] = DataManager[i]!; 2009if (DataManager is not null) 2012SelectedIndex = DataManager.Position; 2109if (DataManager is not null) 2118PInvokeCore.SendMessage(this, PInvoke.LB_SETCURSEL, (WPARAM)DataManager.Position);
System\Windows\Forms\Controls\ListControl\ListControl.cs (7)
148PropertyDescriptorCollection? props = DataManager?.GetItemProperties(); 316if (DataManager is not null && !string.IsNullOrEmpty(value)) 318if (!BindingMemberInfoInDataManager(DataManager, newValueMember)) 442if (DataManager is not null) 444descriptor = DataManager.GetItemProperties().Find(field, true); 686IList? currentList = DataManager?.List; 687bool currentManagerIsNull = DataManager is null;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ComboBoxTests.cs (1)
2828public new CurrencyManager DataManager => base.DataManager;
System\Windows\Forms\ListBoxTests.cs (1)
6408public new CurrencyManager DataManager => base.DataManager;
System\Windows\Forms\ListControlTests.cs (1)
2916public new CurrencyManager DataManager => base.DataManager;