22 references to ListItems
System.Windows.Forms (17)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (7)
148
&& AutoCompleteSource != AutoCompleteSource.
ListItems
191
&& value != AutoCompleteSource.
ListItems
)
1054
&& AutoCompleteSource != AutoCompleteSource.
ListItems
1861
if (_updateCount == 0 && AutoCompleteSource == AutoCompleteSource.
ListItems
)
2741
&& AutoCompleteSource == AutoCompleteSource.
ListItems
2962
&& AutoCompleteSource == AutoCompleteSource.
ListItems
3167
if (AutoCompleteSource == AutoCompleteSource.
ListItems
)
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\DataGridView\DataGridViewComboBoxCell.cs (2)
112
EditingComboBox.AutoCompleteSource = AutoCompleteSource.
ListItems
;
1308
comboBox.AutoCompleteSource = AutoCompleteSource.
ListItems
;
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
165
case AutoCompleteSource.
ListItems
:
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
26
if (!string.Equals(currentItem.ToString(), nameof(AutoCompleteSource.
ListItems
)))
System.Windows.Forms.Tests (5)
System\Windows\Forms\ComboBoxTests.cs (2)
431
using ComboBox control2 = new() { AutoCompleteSource = AutoCompleteSource.
ListItems
};
846
yield return new object[] { source, mode, ComboBoxStyle.DropDownList, source != AutoCompleteSource.
ListItems
? AutoCompleteMode.None : mode };
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
134
[InlineData(AutoCompleteSource.
ListItems
)]
TextBoxTests.cs (2)
276
AutoCompleteSource = value == AutoCompleteSource.
ListItems
? AutoCompleteSource.None : value
279
if (value != AutoCompleteSource.
ListItems
)