36 references to None
System.Windows.Forms (29)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (15)
94private AutoCompleteMode _autoCompleteMode = AutoCompleteMode.None; 133[DefaultValue(AutoCompleteMode.None)] 149&& value != AutoCompleteMode.None) 160if (_autoCompleteMode != AutoCompleteMode.None && value == AutoCompleteMode.None) 190&& AutoCompleteMode != AutoCompleteMode.None 1056&& AutoCompleteMode != AutoCompleteMode.None) 1058AutoCompleteMode = AutoCompleteMode.None; 1206return ((_autoCompleteMode != AutoCompleteMode.None) && (DropDownStyle != ComboBoxStyle.DropDownList)); 1439if (AutoCompleteMode != AutoCompleteMode.None) 2679if (AutoCompleteMode == AutoCompleteMode.None) 2742if (AutoCompleteMode != AutoCompleteMode.None 2963protected override bool ProcessKeyEventArgs(ref Message m) => (AutoCompleteMode != AutoCompleteMode.None 3115if (AutoCompleteMode == AutoCompleteMode.None) 3132_autoCompleteMode = AutoCompleteMode.None;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
117EditingComboBox.AutoCompleteMode = AutoCompleteMode.None; 1309comboBox.AutoCompleteMode = AutoCompleteMode.None;
System\Windows\Forms\Controls\TextBox\TextBox.cs (10)
63private AutoCompleteMode _autoCompleteMode = AutoCompleteMode.None; 111[DefaultValue(AutoCompleteMode.None)] 125if (_autoCompleteMode != AutoCompleteMode.None && value == AutoCompleteMode.None) 250if (value && AutoCompleteMode != AutoCompleteMode.None) 569if (AutoCompleteMode != AutoCompleteMode.None) 625if (AutoCompleteMode != AutoCompleteMode.None) 735if (AutoCompleteMode != AutoCompleteMode.None) 742_autoCompleteMode = AutoCompleteMode.None; 808if ((AutoCompleteMode != AutoCompleteMode.None || force) && IsHandleCreated)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
63[DefaultValue(AutoCompleteMode.None)]
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
193[DefaultValue(AutoCompleteMode.None)]
System.Windows.Forms.Tests (7)
System\Windows\Forms\ComboBoxTests.cs (3)
31Assert.Equal(AutoCompleteMode.None, control.AutoCompleteMode); 433control2.AutoCompleteMode.Should().Be(AutoCompleteMode.None); 845yield return new object[] { source, mode, ComboBoxStyle.DropDownList, source != AutoCompleteSource.ListItems ? AutoCompleteMode.None : mode };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
30Assert.Equal(AutoCompleteMode.None, control.AutoCompleteMode);
System\Windows\Forms\ToolStripComboBoxTests.cs (2)
116[InlineData(AutoCompleteMode.None)] 119_toolStripComboBox.AutoCompleteMode.Should().Be(AutoCompleteMode.None);
TextBoxTests.cs (1)
29Assert.Equal(AutoCompleteMode.None, control.AutoCompleteMode);