35 references to DataManager
System.Windows.Forms (32)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (12)
2622if (DataManager is not null && DataManager.Position != SelectedIndex) 2627DataManager.Position = SelectedIndex; 2986if (DataManager is not null && DataManager.Count != -1) 2988newItems = new object[DataManager.Count]; 2991newItems[i] = DataManager[i]!; 3015if (DataManager is not null) 3018SelectedIndex = DataManager.Position; 3282if (DataManager is not null) 3291PInvokeCore.SendMessage(this, PInvoke.CB_SETCURSEL, (WPARAM)DataManager.Position); 3295_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)
2827public 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;