864 references to ImeMode
System.Windows.Forms (154)
System\Windows\Forms\ActiveX\AxHost.cs (1)
301
public new
ImeMode
ImeMode
System\Windows\Forms\Control.Ime.cs (119)
23
private static
ImeMode
s_propagatingImeMode =
ImeMode
.Inherit; // Inherit means uninitialized.
33
internal
ImeMode
CachedImeMode
38
if (!Properties.TryGetValue(s_imeModeProperty, out
ImeMode
cachedImeMode))
44
if (cachedImeMode ==
ImeMode
.Inherit)
53
cachedImeMode =
ImeMode
.NoControl;
84
internal
ImeMode
CurrentImeContextMode
95
return
ImeMode
.Inherit;
100
protected virtual
ImeMode
DefaultImeMode =>
ImeMode
.Inherit;
133
[AmbientValue(
ImeMode
.Inherit)]
135
public
ImeMode
ImeMode
139
ImeMode
imeMode = ImeModeBase;
141
if (imeMode ==
ImeMode
.OnHalf) // This is for compatibility. See QFE#4448.
143
imeMode =
ImeMode
.On;
158
protected virtual
ImeMode
ImeModeBase
166
ImeMode
oldImeMode = CachedImeMode;
212
private bool ImeSupported => DefaultImeMode !=
ImeMode
.Disable;
259
protected static
ImeMode
PropagatingImeMode
263
if (s_propagatingImeMode ==
ImeMode
.Inherit)
267
ImeMode
imeMode =
ImeMode
.Inherit;
276
if (imeMode ==
ImeMode
.Disable)
302
case
ImeMode
.NoControl:
303
case
ImeMode
.Disable:
319
ImeMode
[] inputLanguageTable = ImeModeConversion.InputLanguageTable;
328
ImeMode
newImeContextMode =
ImeMode
.Disable;
329
ImeMode
currentImeMode = CachedImeMode;
333
newImeContextMode = currentImeMode ==
ImeMode
.NoControl ? PropagatingImeMode : currentImeMode;
337
if (CurrentImeContextMode != newImeContextMode && newImeContextMode !=
ImeMode
.Inherit)
349
ImeMode
savedPropagatingImeMode = PropagatingImeMode;
359
if (newImeContextMode ==
ImeMode
.Disable && inputLanguageTable == ImeModeConversion.ChineseTable)
367
if (currentImeMode ==
ImeMode
.NoControl)
391
private void VerifyImeModeChanged(
ImeMode
oldMode,
ImeMode
newMode)
393
if (ImeSupported && (DisableImeModeChangedCount == 0) && (newMode !=
ImeMode
.NoControl) && oldMode != newMode)
427
ImeMode
oldImeMode = CachedImeMode;
428
ImeMode
newImeMode =
ImeMode
.Disable;
434
oldImeMode =
ImeMode
.Disable;
454
ImeMode
fromContext = ImeContext.GetImeMode(handle);
456
if (fromContext !=
ImeMode
.Inherit)
458
ImeMode
oldImeMode = CachedImeMode;
463
if (oldImeMode !=
ImeMode
.NoControl)
501
return Properties.TryGetValue(s_imeModeProperty, out
ImeMode
imeMode) && imeMode != DefaultImeMode;
515
PropagatingImeMode =
ImeMode
.Off;
651
if (s_propagatingImeMode !=
ImeMode
.Inherit)
660
PropagatingImeMode =
ImeMode
.Inherit;
746
public static unsafe
ImeMode
GetImeMode(IntPtr handle)
749
ImeMode
retval =
ImeMode
.NoControl;
752
ImeMode
[] countryTable = ImeModeConversion.InputLanguageTable;
756
retval =
ImeMode
.Inherit;
765
retval =
ImeMode
.Disable;
837
public static unsafe void SetImeStatus(
ImeMode
imeMode, IntPtr handle)
839
Debug.Assert(imeMode !=
ImeMode
.Inherit, "ImeMode.Inherit is an invalid argument to ImeContext.SetImeStatus");
841
if (imeMode is
ImeMode
.Inherit or
ImeMode
.NoControl)
847
ImeMode
[] inputLanguageTable = ImeModeConversion.InputLanguageTable;
855
if (imeMode ==
ImeMode
.Disable)
867
case
ImeMode
.NoControl:
868
case
ImeMode
.Disable:
871
case
ImeMode
.On:
875
imeMode =
ImeMode
.Hiragana;
878
case
ImeMode
.Off:
883
goto case
ImeMode
.Close;
887
imeMode =
ImeMode
.Alpha;
890
case
ImeMode
.Close:
894
imeMode =
ImeMode
.Alpha;
954
private static volatile Dictionary<
ImeMode
, ImeModeConversion>? s_imeModeConversionBits;
979
private static readonly
ImeMode
[] s_japaneseTable =
981
ImeMode
.Inherit,
982
ImeMode
.Disable,
983
ImeMode
.Off,
984
ImeMode
.Off,
985
ImeMode
.Hiragana,
986
ImeMode
.Hiragana,
987
ImeMode
.Katakana,
988
ImeMode
.KatakanaHalf,
989
ImeMode
.AlphaFull,
990
ImeMode
.Alpha
993
private static readonly
ImeMode
[] s_koreanTable =
995
ImeMode
.Inherit,
996
ImeMode
.Disable,
997
ImeMode
.Alpha,
998
ImeMode
.Alpha,
999
ImeMode
.HangulFull,
1000
ImeMode
.Hangul,
1001
ImeMode
.HangulFull,
1002
ImeMode
.Hangul,
1003
ImeMode
.AlphaFull,
1004
ImeMode
.Alpha
1007
private static readonly
ImeMode
[] s_chineseTable =
1009
ImeMode
.Inherit,
1010
ImeMode
.Disable,
1011
ImeMode
.Off,
1012
ImeMode
.Close,
1013
ImeMode
.On,
1014
ImeMode
.OnHalf,
1015
ImeMode
.On,
1016
ImeMode
.OnHalf,
1017
ImeMode
.Off,
1018
ImeMode
.Off
1021
private static readonly
ImeMode
[] s_unsupportedTable = [];
1023
internal static
ImeMode
[] ChineseTable => s_chineseTable;
1025
internal static
ImeMode
[] JapaneseTable => s_japaneseTable;
1027
internal static
ImeMode
[] KoreanTable => s_koreanTable;
1029
internal static
ImeMode
[] UnsupportedTable => s_unsupportedTable;
1038
internal static
ImeMode
[] InputLanguageTable
1061
public static Dictionary<
ImeMode
, ImeModeConversion> ImeModeConversionBits
1067
ImeMode
.Hiragana,
1077
ImeMode
.Katakana,
1087
ImeMode
.KatakanaHalf,
1097
ImeMode
.AlphaFull,
1107
ImeMode
.Alpha,
1117
ImeMode
.HangulFull,
1127
ImeMode
.Hangul,
1137
ImeMode
.OnHalf,
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (3)
307
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
574
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
6238
ImeMode
editingControlImeMode = EditingControl.CachedImeMode; // If in restricted mode, ImeMode will be Disable.
System\Windows\Forms\Controls\Labels\Label.cs (3)
310
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
587
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
321
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
429
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (3)
217
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
441
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (3)
179
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
209
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
3389
if (ImeMode is
ImeMode
.Hangul or
ImeMode
.HangulFull)
System\Windows\Forms\Controls\Splitter\Splitter.cs (3)
227
protected override
ImeMode
DefaultImeMode
231
return
ImeMode
.Disable;
287
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2779
Debug.Assert(ImeMode ==
ImeMode
.Disable, "IME enabled when in RO or Pwd mode.");
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
550
protected override
ImeMode
ImeModeBase
552
get => (DesignMode || CanEnableIme) ? base.ImeModeBase :
ImeMode
.Disable;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (3)
200
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
254
public new
ImeMode
ImeMode
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1273
public new
ImeMode
ImeMode
System\Windows\Forms\Form.cs (2)
880
protected override
ImeMode
DefaultImeMode =>
ImeMode
.NoControl;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
483
public new
ImeMode
ImeMode
System\Windows\Forms\Scrolling\ScrollBar.cs (3)
133
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
186
public new
ImeMode
ImeMode
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\ByteViewerTests.cs (5)
58
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
88
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1018
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1046
public new
ImeMode
ImeModeBase
System.Windows.Forms.Tests (694)
System\Windows\Forms\AxHostTests.cs (11)
60
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
81
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
82
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
154
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
175
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
176
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
550
public void AxHost_ImeMode_Set_GetReturnsExpected(
ImeMode
value)
564
[InvalidEnumData<
ImeMode
>]
565
public void AxHost_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
3176
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
3204
public new
ImeMode
ImeModeBase
System\Windows\Forms\ButtonBaseTests.cs (16)
51
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
78
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
79
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
2649
public void ButtonBase_ImeMode_Set_GetReturnsExpected(
ImeMode
value)
2678
control.ImeMode =
ImeMode
.On;
2679
Assert.Equal(
ImeMode
.On, control.ImeMode);
2683
control.ImeMode =
ImeMode
.On;
2684
Assert.Equal(
ImeMode
.On, control.ImeMode);
2688
control.ImeMode =
ImeMode
.Off;
2689
Assert.Equal(
ImeMode
.Off, control.ImeMode);
2694
control.ImeMode =
ImeMode
.Off;
2695
Assert.Equal(
ImeMode
.Off, control.ImeMode);
2700
[InvalidEnumData<
ImeMode
>]
2701
public void ButtonBase_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
9279
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
9307
public new
ImeMode
ImeModeBase
System\Windows\Forms\ButtonTests.cs (5)
53
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
81
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
82
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
3687
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
3715
public new
ImeMode
ImeModeBase
System\Windows\Forms\CheckBoxTests.cs (5)
55
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
82
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
83
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
642
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
670
public new
ImeMode
ImeModeBase
System\Windows\Forms\ComboBoxTests.cs (5)
58
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
88
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2832
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2860
public new
ImeMode
ImeModeBase
System\Windows\Forms\ContainerControlTests.cs (5)
59
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
88
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1421
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1449
public new
ImeMode
ImeModeBase
System\Windows\Forms\ControlTests.cs (17)
46
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
65
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
66
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
135
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
154
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
155
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
231
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
250
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
251
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
327
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
346
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
347
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
423
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
442
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
443
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1154
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1182
public new
ImeMode
ImeModeBase
System\Windows\Forms\ControlTests.Methods.cs (4)
6480
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
6483
control.ImeMode =
ImeMode
.On;
6485
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
6489
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
System\Windows\Forms\ControlTests.Properties.cs (84)
6343
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
6344
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
6345
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
6346
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
6347
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
6348
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
6349
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
6350
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
6351
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
6352
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
6353
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
6354
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
6355
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
6356
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
6361
public void Control_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
6378
public void Control_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
6419
control.ImeMode =
ImeMode
.On;
6420
Assert.Equal(
ImeMode
.On, control.ImeMode);
6424
control.ImeMode =
ImeMode
.On;
6425
Assert.Equal(
ImeMode
.On, control.ImeMode);
6429
control.ImeMode =
ImeMode
.Off;
6430
Assert.Equal(
ImeMode
.Off, control.ImeMode);
6435
control.ImeMode =
ImeMode
.Off;
6436
Assert.Equal(
ImeMode
.Off, control.ImeMode);
6441
[InvalidEnumData<
ImeMode
>]
6442
public void Control_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
6450
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
6451
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
6452
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
6453
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
6454
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
6455
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
6456
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
6457
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
6458
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
6459
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
6460
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
6461
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
6462
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
6463
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.OnHalf };
6468
public void Control_ImeModeBase_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
6485
public void Control_ImeModeBase_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
6526
control.ImeModeBase =
ImeMode
.On;
6527
Assert.Equal(
ImeMode
.On, control.ImeModeBase);
6531
control.ImeModeBase =
ImeMode
.On;
6532
Assert.Equal(
ImeMode
.On, control.ImeModeBase);
6536
control.ImeModeBase =
ImeMode
.Off;
6537
Assert.Equal(
ImeMode
.Off, control.ImeModeBase);
6542
control.ImeModeBase =
ImeMode
.Off;
6543
Assert.Equal(
ImeMode
.Off, control.ImeModeBase);
6548
[InvalidEnumData<
ImeMode
>]
6549
public void Control_ImeModeBase_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
57
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
2114
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2142
public new
ImeMode
ImeModeBase
System\Windows\Forms\DateTimePickerTests.cs (5)
61
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
82
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
83
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1016
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1044
public new
ImeMode
ImeModeBase
System\Windows\Forms\Design\ComponentEditorFormTests.cs (5)
69
Assert.Equal(
ImeMode
.NoControl, control.DefaultImeMode);
103
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
104
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
390
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
418
public new
ImeMode
ImeModeBase
System\Windows\Forms\Design\ComponentEditorPageTests.cs (5)
55
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
86
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
893
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
927
public new
ImeMode
ImeModeBase
System\Windows\Forms\DomainUpDownTests.cs (5)
79
_sub.DefaultImeMode.Should().Be(
ImeMode
.Inherit);
106
_sub.ImeMode.Should().Be(
ImeMode
.NoControl);
107
_sub.ImeModeBase.Should().Be(
ImeMode
.NoControl);
1480
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1514
public new
ImeMode
ImeModeBase
System\Windows\Forms\FlowLayoutPanelTests.cs (5)
52
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
81
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
82
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
440
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
468
public new
ImeMode
ImeModeBase
System\Windows\Forms\FormTests.cs (5)
68
Assert.Equal(
ImeMode
.NoControl, control.DefaultImeMode);
105
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
106
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2700
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2728
public new
ImeMode
ImeModeBase
System\Windows\Forms\GroupBoxTests.cs (5)
49
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
69
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
70
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2305
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2333
public new
ImeMode
ImeModeBase
System\Windows\Forms\HScrollBarTests.cs (5)
53
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
76
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
77
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
254
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
282
public new
ImeMode
ImeModeBase
System\Windows\Forms\LabelTests.cs (5)
49
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
74
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
75
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
889
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
917
public new
ImeMode
ImeModeBase
System\Windows\Forms\ListBoxTests.cs (5)
55
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
81
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
82
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
6412
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
6440
public new
ImeMode
ImeModeBase
System\Windows\Forms\ListControlTests.cs (5)
52
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
75
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
76
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2920
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2948
public new
ImeMode
ImeModeBase
System\Windows\Forms\ListViewTests.cs (5)
64
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
93
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
94
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
6107
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
6135
public new
ImeMode
ImeModeBase
System\Windows\Forms\MdiClientTests.cs (1)
54
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
System\Windows\Forms\MdiControlStripTests.cs (5)
57
Assert.Equal(
ImeMode
.Inherit, mdiControlStrip.DefaultImeMode);
95
Assert.Equal(
ImeMode
.NoControl, mdiControlStrip.ImeMode);
96
Assert.Equal(
ImeMode
.NoControl, mdiControlStrip.ImeModeBase);
366
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
398
public new
ImeMode
ImeModeBase
System\Windows\Forms\MenuStripTests.cs (5)
55
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
93
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
94
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
862
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
894
public new
ImeMode
ImeModeBase
System\Windows\Forms\MonthCalendarTests.cs (47)
62
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
86
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
87
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
1204
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
1205
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
1206
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
1207
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
1208
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
1209
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
1210
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
1211
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
1212
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
1213
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
1214
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
1215
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
1216
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
1217
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
1222
public void MonthCalendar_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1239
public void MonthCalendar_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1280
control.ImeMode =
ImeMode
.On;
1281
Assert.Equal(
ImeMode
.On, control.ImeMode);
1285
control.ImeMode =
ImeMode
.On;
1286
Assert.Equal(
ImeMode
.On, control.ImeMode);
1290
control.ImeMode =
ImeMode
.Off;
1291
Assert.Equal(
ImeMode
.Off, control.ImeMode);
1296
control.ImeMode =
ImeMode
.Off;
1297
Assert.Equal(
ImeMode
.Off, control.ImeMode);
1302
[InvalidEnumData<
ImeMode
>]
1303
public void MonthCalendar_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
4736
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
4764
public new
ImeMode
ImeModeBase
System\Windows\Forms\PanelTests.cs (5)
53
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
81
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
82
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1162
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1190
public new
ImeMode
ImeModeBase
System\Windows\Forms\PictureBoxTests.cs (47)
52
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
74
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
75
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
902
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
903
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
904
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
905
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
906
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
907
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
908
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
909
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
910
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
911
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
912
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
913
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
914
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
915
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
920
public void PictureBox_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
937
public void PictureBox_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
978
control.ImeMode =
ImeMode
.On;
979
Assert.Equal(
ImeMode
.On, control.ImeMode);
983
control.ImeMode =
ImeMode
.On;
984
Assert.Equal(
ImeMode
.On, control.ImeMode);
988
control.ImeMode =
ImeMode
.Off;
989
Assert.Equal(
ImeMode
.Off, control.ImeMode);
994
control.ImeMode =
ImeMode
.Off;
995
Assert.Equal(
ImeMode
.Off, control.ImeMode);
1000
[InvalidEnumData<
ImeMode
>]
1001
public void PictureBox_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
2848
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2876
public new
ImeMode
ImeModeBase
System\Windows\Forms\ProgressBarTests.cs (47)
48
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
66
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
67
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
655
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
656
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
657
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
658
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
659
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
660
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
661
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
662
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
663
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
664
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
665
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
666
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
667
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
668
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
673
public void ProgressBar_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
690
public void ProgressBar_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
731
control.ImeMode =
ImeMode
.On;
732
Assert.Equal(
ImeMode
.On, control.ImeMode);
736
control.ImeMode =
ImeMode
.On;
737
Assert.Equal(
ImeMode
.On, control.ImeMode);
741
control.ImeMode =
ImeMode
.Off;
742
Assert.Equal(
ImeMode
.Off, control.ImeMode);
747
control.ImeMode =
ImeMode
.Off;
748
Assert.Equal(
ImeMode
.Off, control.ImeMode);
753
[InvalidEnumData<
ImeMode
>]
754
public void ProgressBar_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
2592
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2620
public new
ImeMode
ImeModeBase
System\Windows\Forms\PropertyGridTests.cs (5)
79
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
114
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
115
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
4151
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
4193
public new
ImeMode
ImeModeBase
System\Windows\Forms\RadioButtonTests.cs (5)
54
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
81
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
82
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
1535
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1563
public new
ImeMode
ImeModeBase
System\Windows\Forms\RichTextBoxTests.cs (5)
63
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
86
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
10932
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
10960
public new
ImeMode
ImeModeBase
System\Windows\Forms\ScrollableControlTests.cs (5)
52
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
80
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
81
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2580
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2608
public new
ImeMode
ImeModeBase
System\Windows\Forms\ScrollBarTests.cs (16)
47
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
66
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
67
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
624
public void ScrollBar_ImeMode_Set_GetReturnsExpected(
ImeMode
value)
653
control.ImeMode =
ImeMode
.On;
654
Assert.Equal(
ImeMode
.On, control.ImeMode);
658
control.ImeMode =
ImeMode
.On;
659
Assert.Equal(
ImeMode
.On, control.ImeMode);
663
control.ImeMode =
ImeMode
.Off;
664
Assert.Equal(
ImeMode
.Off, control.ImeMode);
669
control.ImeMode =
ImeMode
.Off;
670
Assert.Equal(
ImeMode
.Off, control.ImeMode);
675
[InvalidEnumData<
ImeMode
>]
676
public void ScrollBar_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
3168
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
3196
public new
ImeMode
ImeModeBase
System\Windows\Forms\SplitterPanelTests.cs (1)
72
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
System\Windows\Forms\SplitterTests.cs (47)
48
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
67
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
68
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
883
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
884
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
885
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
886
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
887
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
888
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
889
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
890
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
891
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
892
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
893
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
894
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
895
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
896
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
901
public void Splitter_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
918
public void Splitter_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
959
control.ImeMode =
ImeMode
.On;
960
Assert.Equal(
ImeMode
.On, control.ImeMode);
964
control.ImeMode =
ImeMode
.On;
965
Assert.Equal(
ImeMode
.On, control.ImeMode);
969
control.ImeMode =
ImeMode
.Off;
970
Assert.Equal(
ImeMode
.Off, control.ImeMode);
975
control.ImeMode =
ImeMode
.Off;
976
Assert.Equal(
ImeMode
.Off, control.ImeMode);
981
[InvalidEnumData<
ImeMode
>]
982
public void Splitter_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
2313
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2341
public new
ImeMode
ImeModeBase
System\Windows\Forms\StatusStripTests.cs (5)
55
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
93
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
94
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1284
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1316
public new
ImeMode
ImeModeBase
System\Windows\Forms\TabControlTests.cs (5)
50
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
71
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
72
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
5729
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
5757
public new
ImeMode
ImeModeBase
System\Windows\Forms\TableLayoutPanelTests.cs (5)
58
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
88
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2179
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2207
public new
ImeMode
ImeModeBase
System\Windows\Forms\TabPageTests.cs (8)
58
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
86
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
167
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
195
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
196
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
5243
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
5271
public new
ImeMode
ImeModeBase
System\Windows\Forms\ToolStripContentPanelTests.cs (5)
55
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
83
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
84
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
2024
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
2052
public new
ImeMode
ImeModeBase
System\Windows\Forms\ToolStripDropDownTests.cs (47)
59
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
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 };
1813
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
1814
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
1815
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
1816
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
1817
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
1818
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
1819
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
1820
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
1821
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
1822
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
1823
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
1824
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
1829
public void ToolStripDropDown_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1846
public void ToolStripDropDown_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1887
control.ImeMode =
ImeMode
.On;
1888
Assert.Equal(
ImeMode
.On, control.ImeMode);
1892
control.ImeMode =
ImeMode
.On;
1893
Assert.Equal(
ImeMode
.On, control.ImeMode);
1897
control.ImeMode =
ImeMode
.Off;
1898
Assert.Equal(
ImeMode
.Off, control.ImeMode);
1903
control.ImeMode =
ImeMode
.Off;
1904
Assert.Equal(
ImeMode
.Off, control.ImeMode);
1909
[InvalidEnumData<
ImeMode
>]
1910
public void ToolStripDropDown_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
5102
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
5134
public new
ImeMode
ImeModeBase
System\Windows\Forms\ToolStripPanelTests.cs (5)
55
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
83
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
84
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
367
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
395
public new
ImeMode
ImeModeBase
System\Windows\Forms\ToolStripTests.cs (8)
59
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
111
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
112
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
216
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
265
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
266
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
7538
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
7570
public new
ImeMode
ImeModeBase
System\Windows\Forms\TreeViewTests.cs (5)
50
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
76
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
77
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
7580
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
7608
public new
ImeMode
ImeModeBase
System\Windows\Forms\UpDownBaseTests.cs (5)
66
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
93
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
94
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
3113
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
3147
public new
ImeMode
ImeModeBase
System\Windows\Forms\UserControlTests.cs (5)
59
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
87
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
88
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
1805
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
1833
public new
ImeMode
ImeModeBase
System\Windows\Forms\VScrollBarTests.cs (5)
52
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
75
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
76
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
244
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
272
public new
ImeMode
ImeModeBase
System\Windows\Forms\WebBrowserTests.cs (5)
47
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
65
Assert.Equal(
ImeMode
.NoControl, control.ImeMode);
66
Assert.Equal(
ImeMode
.NoControl, control.ImeModeBase);
4674
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
4702
public new
ImeMode
ImeModeBase
TextBoxBaseTests.cs (65)
1405
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
1406
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
1407
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
1408
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
1409
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
1410
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
1411
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
1412
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
1413
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
1414
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
1415
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
1416
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
1417
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
1418
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.OnHalf };
1423
public void TextBoxBase_ImeModeBase_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1439
[EnumData<
ImeMode
>]
1440
public void TextBoxBase_ImeModeBase_SetReadOnly_GetReturnsExpected(
ImeMode
value)
1447
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
1452
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
1458
public void TextBoxBase_ImeModeBase_SetDesignMode_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1489
public void TextBoxBase_ImeModeBase_SetReadOnlyDesignMode_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1521
public void TextBoxBase_ImeModeBase_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
1562
control.ImeModeBase =
ImeMode
.On;
1563
Assert.Equal(
ImeMode
.On, control.ImeModeBase);
1567
control.ImeModeBase =
ImeMode
.On;
1568
Assert.Equal(
ImeMode
.On, control.ImeModeBase);
1572
control.ImeModeBase =
ImeMode
.Off;
1573
Assert.Equal(
ImeMode
.Off, control.ImeModeBase);
1578
control.ImeModeBase =
ImeMode
.Off;
1579
Assert.Equal(
ImeMode
.Off, control.ImeModeBase);
1584
[InvalidEnumData<
ImeMode
>]
1585
public void TextBoxBase_ImeModeBase_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
2447
[InlineData(
ImeMode
.NoControl, 0)]
2448
[InlineData(
ImeMode
.Katakana, 1)]
2449
public void TextBoxBase_ReadOnly_SetWithHandler_CallsImeModeChanged(
ImeMode
imeMode, int expectedCallCount)
2480
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
2492
[InlineData(
ImeMode
.NoControl)]
2493
[InlineData(
ImeMode
.Katakana)]
2494
public void TextBoxBase_ReadOnly_SetWithHandlerImeNotSupported_DoesNotCallImeModeChanged(
ImeMode
imeMode)
2513
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
2519
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
2525
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
2532
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
3145
protected override
ImeMode
DefaultImeMode =>
ImeMode
.Disable;
7691
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
7719
public new
ImeMode
ImeModeBase
TextBoxTests.cs (11)
56
Assert.Equal(
ImeMode
.Inherit, control.DefaultImeMode);
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);
689
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
717
public new
ImeMode
ImeModeBase
TrackBarTests.cs (47)
49
Assert.Equal(
ImeMode
.Disable, control.DefaultImeMode);
68
Assert.Equal(
ImeMode
.Disable, control.ImeMode);
69
Assert.Equal(
ImeMode
.Disable, control.ImeModeBase);
870
yield return new object[] {
ImeMode
.Inherit,
ImeMode
.NoControl };
871
yield return new object[] {
ImeMode
.NoControl,
ImeMode
.NoControl };
872
yield return new object[] {
ImeMode
.On,
ImeMode
.On };
873
yield return new object[] {
ImeMode
.Off,
ImeMode
.Off };
874
yield return new object[] {
ImeMode
.Disable,
ImeMode
.Disable };
875
yield return new object[] {
ImeMode
.Hiragana,
ImeMode
.Hiragana };
876
yield return new object[] {
ImeMode
.Katakana,
ImeMode
.Katakana };
877
yield return new object[] {
ImeMode
.KatakanaHalf,
ImeMode
.KatakanaHalf };
878
yield return new object[] {
ImeMode
.AlphaFull,
ImeMode
.AlphaFull };
879
yield return new object[] {
ImeMode
.Alpha,
ImeMode
.Alpha };
880
yield return new object[] {
ImeMode
.HangulFull,
ImeMode
.HangulFull };
881
yield return new object[] {
ImeMode
.Hangul,
ImeMode
.Hangul };
882
yield return new object[] {
ImeMode
.Close,
ImeMode
.Close };
883
yield return new object[] {
ImeMode
.OnHalf,
ImeMode
.On };
888
public void TrackBar_ImeMode_Set_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
905
public void TrackBar_ImeMode_SetWithHandle_GetReturnsExpected(
ImeMode
value,
ImeMode
expected)
946
control.ImeMode =
ImeMode
.On;
947
Assert.Equal(
ImeMode
.On, control.ImeMode);
951
control.ImeMode =
ImeMode
.On;
952
Assert.Equal(
ImeMode
.On, control.ImeMode);
956
control.ImeMode =
ImeMode
.Off;
957
Assert.Equal(
ImeMode
.Off, control.ImeMode);
962
control.ImeMode =
ImeMode
.Off;
963
Assert.Equal(
ImeMode
.Off, control.ImeMode);
968
[InvalidEnumData<
ImeMode
>]
969
public void TrackBar_ImeMode_SetInvalid_ThrowsInvalidEnumArgumentException(
ImeMode
value)
3286
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
3314
public new
ImeMode
ImeModeBase
WebBrowserBaseTests.cs (2)
894
public new
ImeMode
DefaultImeMode => base.DefaultImeMode;
922
public new
ImeMode
ImeModeBase
WindowsFormsIntegration (11)
System\Windows\Integration\ElementHost.cs (9)
236
protected override SWF.
ImeMode
ImeModeBase
240
return this.CanEnableIme ? base.ImeModeBase :
ImeMode
.Disable;
248
if (value == SWF.
ImeMode
.NoControl)
651
ImeMode
ehImeMode = this.ImeMode !=
ImeMode
.NoControl ? this.ImeMode : SWF.Control.PropagatingImeMode;
652
ImeMode
hsImeMode = SWF.ImeContext.GetImeMode(this.HwndSource.Handle);
654
SetChildElementsIsImeEnabled(this.Child, ehImeMode !=
ImeMode
.Disable);
742
ImeMode
hsImeMode = SWF.ImeContext.GetImeMode(this.HwndSource.Handle);
743
ImeMode
ehImeMode = this.ImeMode;
System\Windows\Integration\WindowsFormsHost.cs (2)
98
if (this.Child.ImeMode ==
ImeMode
.Disable)
105
if (this.Child.ImeMode !=
ImeMode
.Disable)