35 references to DataManager
System.Windows.Forms (32)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (12)
2628if (DataManager is not null && DataManager.Position != SelectedIndex) 2633DataManager.Position = SelectedIndex; 2992if (DataManager is not null && DataManager.Count != -1) 2994newItems = new object[DataManager.Count]; 2997newItems[i] = DataManager[i]!; 3021if (DataManager is not null) 3024SelectedIndex = DataManager.Position; 3279if (DataManager is not null) 3288PInvokeCore.SendMessage(this, PInvoke.CB_SETCURSEL, (WPARAM)DataManager.Position); 3292_selectedIndex = DataManager.Position;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (13)
1892if (DataManager is not null && DataManager.Position != SelectedIndex) 1899DataManager.Position = SelectedIndex; 1935if (SelectionMode != SelectionMode.None && DataManager is not null) 1937SelectedIndex = DataManager.Position; 1984if (DataManager is not null && DataManager.Count != -1) 1986newItems = new object[DataManager.Count]; 1989newItems[i] = DataManager[i]!; 2007if (DataManager is not null) 2010SelectedIndex = DataManager.Position; 2107if (DataManager is not null) 2116PInvokeCore.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)
2829public new CurrencyManager DataManager => base.DataManager;
System\Windows\Forms\ListBoxTests.cs (1)
6410public new CurrencyManager DataManager => base.DataManager;
System\Windows\Forms\ListControlTests.cs (1)
2918public new CurrencyManager DataManager => base.DataManager;