62 references to AutoCompleteSource
System.Windows.Forms (61)
winforms\Managed\System\WinForms\ComboBox.cs (32)
141
private
AutoCompleteSource
autoCompleteSource =
AutoCompleteSource
.None;
197
this.AutoCompleteSource !=
AutoCompleteSource
.ListItems &&
220
DefaultValue(
AutoCompleteSource
.None),
224
public
AutoCompleteSource
AutoCompleteSource {
231
(int)
AutoCompleteSource
.None,
232
(int)
AutoCompleteSource
.AllSystemSources,
233
(int)
AutoCompleteSource
.AllUrl,
234
(int)
AutoCompleteSource
.CustomSource,
235
(int)
AutoCompleteSource
.FileSystem,
236
(int)
AutoCompleteSource
.FileSystemDirectories,
237
(int)
AutoCompleteSource
.HistoryList,
238
(int)
AutoCompleteSource
.ListItems,
239
(int)
AutoCompleteSource
.RecentlyUsedList))
241
throw new InvalidEnumArgumentException("value", (int)value, typeof(
AutoCompleteSource
));
246
value !=
AutoCompleteSource
.ListItems) {
254
if (value !=
AutoCompleteSource
.None &&
255
value !=
AutoCompleteSource
.CustomSource &&
256
value !=
AutoCompleteSource
.ListItems)
1242
this.AutoCompleteSource !=
AutoCompleteSource
.ListItems &&
2043
if (updateCount == 0 && AutoCompleteSource ==
AutoCompleteSource
.ListItems)
2791
if (AutoCompleteSource ==
AutoCompleteSource
.CustomSource)
2843
this.AutoCompleteSource ==
AutoCompleteSource
.ListItems &&
2997
this.AutoCompleteSource ==
AutoCompleteSource
.ListItems &&
3161
if (AutoCompleteSource ==
AutoCompleteSource
.CustomSource) {
3184
else if (AutoCompleteSource ==
AutoCompleteSource
.ListItems) {
4121
if (owner.UpdateNeeded() && owner.AutoCompleteSource ==
AutoCompleteSource
.ListItems)
4210
if (owner.AutoCompleteSource ==
AutoCompleteSource
.ListItems)
4252
if (owner.AutoCompleteSource ==
AutoCompleteSource
.ListItems)
4339
if (owner.AutoCompleteSource ==
AutoCompleteSource
.ListItems)
4371
if (owner.AutoCompleteSource ==
AutoCompleteSource
.ListItems)
4414
if (owner.AutoCompleteSource ==
AutoCompleteSource
.ListItems)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (4)
141
this.EditingComboBox.AutoCompleteSource =
AutoCompleteSource
.ListItems;
147
this.EditingComboBox.AutoCompleteSource =
AutoCompleteSource
.None;
1558
comboBox.AutoCompleteSource =
AutoCompleteSource
.ListItems;
1564
comboBox.AutoCompleteSource =
AutoCompleteSource
.None;
winforms\Managed\System\WinForms\TextBox.cs (21)
95
private
AutoCompleteSource
autoCompleteSource =
AutoCompleteSource
.None;
170
DefaultValue(
AutoCompleteSource
.None),
175
public
AutoCompleteSource
AutoCompleteSource {
183
(int)
AutoCompleteSource
.None,
184
(int)
AutoCompleteSource
.AllSystemSources,
185
(int)
AutoCompleteSource
.AllUrl,
186
(int)
AutoCompleteSource
.CustomSource,
187
(int)
AutoCompleteSource
.FileSystem,
188
(int)
AutoCompleteSource
.FileSystemDirectories,
189
(int)
AutoCompleteSource
.HistoryList,
190
(int)
AutoCompleteSource
.ListItems,
191
(int)
AutoCompleteSource
.RecentlyUsedList)){
192
throw new InvalidEnumArgumentException("value", (int)value, typeof(
AutoCompleteSource
));
194
if (value ==
AutoCompleteSource
.ListItems) {
199
if (value !=
AutoCompleteSource
.None && value !=
AutoCompleteSource
.CustomSource)
597
if (AutoCompleteSource ==
AutoCompleteSource
.CustomSource)
762
if (Multiline || passwordChar != 0 || useSystemPasswordChar || AutoCompleteSource ==
AutoCompleteSource
.None) {
777
if (AutoCompleteSource ==
AutoCompleteSource
.CustomSource) {
834
int mode = (int)
AutoCompleteSource
.AllSystemSources | NativeMethods.AUTOSUGGEST_OFF | NativeMethods.AUTOAPPEND_OFF;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
160
DefaultValue(
AutoCompleteSource
.None),
164
public
AutoCompleteSource
AutoCompleteSource {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
310
DefaultValue(
AutoCompleteSource
.None),
314
public
AutoCompleteSource
AutoCompleteSource {
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
414
this.typeTextBox.AutoCompleteSource =
AutoCompleteSource
.CustomSource;