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