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