22 writes to DataSource
Accessibility_Core_App (1)
DataBindingExample.cs (1)
34
comboBox1.
DataSource
= _studentB;
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
315
comboBoxTemplates.
DataSource
= _templates;
System.Windows.Forms (4)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2838
DataSource
= null;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
185
EditingComboBox.
DataSource
= value;
1278
comboBox.
DataSource
= null;
1292
comboBox.
DataSource
= DataSource;
System.Windows.Forms.Tests (15)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
66
DataSource
= TestDataSources.GetPersons(),
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (7)
106
DataSource
= Array.Empty<object>()
386
DataSource
= Array.Empty<object>()
454
DataSource
= Array.Empty<object>()
816
DataSource
= Array.Empty<object>()
917
DataSource
= Array.Empty<object>()
1070
comboBox.
DataSource
= new string[] { "b" };
1371
comboBox.
DataSource
= new string[] { "b" };
System\Windows\Forms\ComboBoxTests.cs (7)
635
DataSource
= value
643
control.
DataSource
= value;
673
control.
DataSource
= dataSource1;
679
control.
DataSource
= dataSource1;
686
control.
DataSource
= dataSource2;
692
control.
DataSource
= null;
700
control.
DataSource
= dataSource1;
WinFormsControlsTest (1)
ComboBoxes.cs (1)
17
dataBoundComboBox.
DataSource
= TestDataSources.GetPersons();
13 references to DataSource
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
1022
if (
DataSource
is not null && value)
1347
if (
DataSource
is not null)
2834
if (
DataSource
is not null && Created)
2843
if (
DataSource
is null)
3284
if (
DataSource
is ICurrencyManagerProvider)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ComboBoxTests.cs (8)
56
Assert.Null(control.
DataSource
);
637
Assert.Same(value, control.
DataSource
);
644
Assert.Same(value, control.
DataSource
);
674
Assert.Same(dataSource1, control.
DataSource
);
680
Assert.Same(dataSource1, control.
DataSource
);
687
Assert.Same(dataSource2, control.
DataSource
);
693
Assert.Null(control.
DataSource
);
701
Assert.Same(dataSource1, control.
DataSource
);