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