35 references to DataManager
System.Windows.Forms (32)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (12)
2620
if (
DataManager
is not null &&
DataManager
.Position != SelectedIndex)
2625
DataManager
.Position = SelectedIndex;
2984
if (
DataManager
is not null &&
DataManager
.Count != -1)
2986
newItems = new object[
DataManager
.Count];
2989
newItems[i] =
DataManager
[i]!;
3013
if (
DataManager
is not null)
3016
SelectedIndex =
DataManager
.Position;
3280
if (
DataManager
is not null)
3289
PInvokeCore.SendMessage(this, PInvoke.CB_SETCURSEL, (WPARAM)
DataManager
.Position);
3293
_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)
2828
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
;