9 writes to AutoCompleteSource
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
112
EditingComboBox.
AutoCompleteSource
= AutoCompleteSource.ListItems;
118
EditingComboBox.
AutoCompleteSource
= AutoCompleteSource.None;
1304
comboBox.
AutoCompleteSource
= AutoCompleteSource.ListItems;
1310
comboBox.
AutoCompleteSource
= AutoCompleteSource.None;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
80
set { ComboBox.
AutoCompleteSource
= value; }
System.Windows.Forms.Tests (4)
System\Windows\Forms\ComboBoxTests.cs (4)
430
using ComboBox control2 = new() {
AutoCompleteSource
= AutoCompleteSource.ListItems };
856
AutoCompleteSource
= source,
878
control.
AutoCompleteSource
= value;
887
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
AutoCompleteSource
= source);
20 references to AutoCompleteSource
System.Windows.Forms (16)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (9)
148
&&
AutoCompleteSource
!= AutoCompleteSource.ListItems
1055
&&
AutoCompleteSource
!= AutoCompleteSource.ListItems
1863
if (_updateCount == 0 &&
AutoCompleteSource
== AutoCompleteSource.ListItems)
2694
if (
AutoCompleteSource
== AutoCompleteSource.CustomSource)
2743
&&
AutoCompleteSource
== AutoCompleteSource.ListItems
2964
&&
AutoCompleteSource
== AutoCompleteSource.ListItems
3137
if (
AutoCompleteSource
== AutoCompleteSource.CustomSource)
3169
if (
AutoCompleteSource
== AutoCompleteSource.ListItems)
3229
PInvoke.SHAutoComplete(_childEdit.HWND, (SHELL_AUTOCOMPLETE_FLAGS)
AutoCompleteSource
| mode);
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (6)
108
if (_owner.UpdateNeeded() && _owner.
AutoCompleteSource
== AutoCompleteSource.ListItems)
203
if (_owner.
AutoCompleteSource
== AutoCompleteSource.ListItems)
250
if (_owner.
AutoCompleteSource
== AutoCompleteSource.ListItems)
339
if (_owner.
AutoCompleteSource
== AutoCompleteSource.ListItems)
385
if (_owner.
AutoCompleteSource
== AutoCompleteSource.ListItems)
431
if (_owner.
AutoCompleteSource
== AutoCompleteSource.ListItems)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
79
get { return ComboBox.
AutoCompleteSource
; }
System.Windows.Forms.Tests (4)
System\Windows\Forms\ComboBoxTests.cs (4)
32
Assert.Equal(AutoCompleteSource.None, control.
AutoCompleteSource
);
861
Assert.Equal(source, control.
AutoCompleteSource
);
868
Assert.Equal(source, control.
AutoCompleteSource
);
879
Assert.Equal(value, control.
AutoCompleteSource
);