136 references to NoControl
System.Windows.Forms (10)
System\Windows\Forms\Control.Ime.cs (9)
53
cachedImeMode = ImeMode.
NoControl
;
302
case ImeMode.
NoControl
:
333
newImeContextMode = currentImeMode == ImeMode.
NoControl
? PropagatingImeMode : currentImeMode;
367
if (currentImeMode == ImeMode.
NoControl
)
393
if (ImeSupported && (DisableImeModeChangedCount == 0) && (newMode != ImeMode.
NoControl
) && oldMode != newMode)
463
if (oldImeMode != ImeMode.
NoControl
)
749
ImeMode retval = ImeMode.
NoControl
;
841
if (imeMode is ImeMode.Inherit or ImeMode.
NoControl
)
867
case ImeMode.
NoControl
:
System\Windows\Forms\Form.cs (1)
880
protected override ImeMode DefaultImeMode => ImeMode.
NoControl
;
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (2)
87
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
88
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System.Windows.Forms.Tests (122)
System\Windows\Forms\AxHostTests.cs (4)
81
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
82
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
175
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
176
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ComboBoxTests.cs (2)
87
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
88
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ContainerControlTests.cs (2)
87
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
88
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ControlTests.cs (10)
65
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
66
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
154
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
155
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
250
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
251
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
346
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
347
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
442
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
443
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ControlTests.Methods.cs (3)
6480
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
6485
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
6489
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
System\Windows\Forms\ControlTests.Properties.cs (6)
6343
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
6344
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
6450
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
6451
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
System\Windows\Forms\DateTimePickerTests.cs (2)
82
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
83
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (3)
69
Assert.Equal(ImeMode.
NoControl
, control.DefaultImeMode);
103
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
104
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (2)
86
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
87
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\DomainUpDownTests.cs (2)
106
_sub.ImeMode.Should().Be(ImeMode.
NoControl
);
107
_sub.ImeModeBase.Should().Be(ImeMode.
NoControl
);
System\Windows\Forms\FlowLayoutPanelTests.cs (2)
81
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
82
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\FormTests.cs (3)
68
Assert.Equal(ImeMode.
NoControl
, control.DefaultImeMode);
105
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
106
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\GroupBoxTests.cs (2)
69
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
70
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ListBoxTests.cs (2)
81
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
82
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ListControlTests.cs (2)
75
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
76
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ListViewTests.cs (2)
93
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
94
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\MdiClientTests.cs (1)
54
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
System\Windows\Forms\MdiControlStripTests.cs (2)
95
Assert.Equal(ImeMode.
NoControl
, mdiControlStrip.ImeMode);
96
Assert.Equal(ImeMode.
NoControl
, mdiControlStrip.ImeModeBase);
System\Windows\Forms\MenuStripTests.cs (2)
93
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
94
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\MonthCalendarTests.cs (3)
1204
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
1205
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
System\Windows\Forms\PanelTests.cs (2)
81
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
82
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\PictureBoxTests.cs (3)
902
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
903
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
System\Windows\Forms\ProgressBarTests.cs (3)
655
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
656
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
System\Windows\Forms\PropertyGridTests.cs (2)
114
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
115
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\RichTextBoxTests.cs (2)
86
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
87
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ScrollableControlTests.cs (2)
80
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
81
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\SplitterPanelTests.cs (1)
72
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
System\Windows\Forms\SplitterTests.cs (3)
883
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
884
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
System\Windows\Forms\StatusStripTests.cs (2)
93
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
94
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\TabControlTests.cs (2)
71
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
72
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\TableLayoutPanelTests.cs (2)
87
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
88
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\TabPageTests.cs (4)
86
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
87
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
195
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
196
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
83
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
84
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ToolStripDropDownTests.cs (5)
98
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
99
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
1811
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
1812
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
System\Windows\Forms\ToolStripPanelTests.cs (2)
83
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
84
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\ToolStripTests.cs (4)
111
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
112
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
265
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
266
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\TreeViewTests.cs (2)
76
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
77
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\UpDownBaseTests.cs (2)
93
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
94
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\UserControlTests.cs (2)
87
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
88
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
System\Windows\Forms\WebBrowserTests.cs (2)
65
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
66
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
TextBoxBaseTests.cs (5)
1405
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
1406
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
2447
[InlineData(ImeMode.
NoControl
, 0)]
2492
[InlineData(ImeMode.
NoControl
)]
TextBoxTests.cs (8)
188
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
192
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
208
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
215
Assert.Equal(ImeMode.
NoControl
, control.ImeMode);
226
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
230
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
246
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
253
Assert.Equal(ImeMode.
NoControl
, control.ImeModeBase);
TrackBarTests.cs (3)
870
yield return new object[] { ImeMode.Inherit, ImeMode.
NoControl
};
871
yield return new object[] { ImeMode.
NoControl
, ImeMode.
NoControl
};
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
248
if (value == SWF.ImeMode.
NoControl
)
651
ImeMode ehImeMode = this.ImeMode != ImeMode.
NoControl
? this.ImeMode : SWF.Control.PropagatingImeMode;