92 references to Disable
System.Windows.Forms (23)
System\Windows\Forms\Control.Ime.cs (13)
212private bool ImeSupported => DefaultImeMode != ImeMode.Disable; 276if (imeMode == ImeMode.Disable) 303case ImeMode.Disable: 328ImeMode newImeContextMode = ImeMode.Disable; 359if (newImeContextMode == ImeMode.Disable && inputLanguageTable == ImeModeConversion.ChineseTable) 428ImeMode newImeMode = ImeMode.Disable; 434oldImeMode = ImeMode.Disable; 765retval = ImeMode.Disable; 855if (imeMode == ImeMode.Disable) 868case ImeMode.Disable: 982ImeMode.Disable, 996ImeMode.Disable, 1010ImeMode.Disable,
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
307protected override ImeMode DefaultImeMode => ImeMode.Disable;
System\Windows\Forms\Controls\Labels\Label.cs (1)
310protected override ImeMode DefaultImeMode => ImeMode.Disable;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
321protected override ImeMode DefaultImeMode => ImeMode.Disable;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
217protected override ImeMode DefaultImeMode => ImeMode.Disable;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
179protected override ImeMode DefaultImeMode => ImeMode.Disable;
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
231return ImeMode.Disable;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2779Debug.Assert(ImeMode == ImeMode.Disable, "IME enabled when in RO or Pwd mode.");
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
552get => (DesignMode || CanEnableIme) ? base.ImeModeBase : ImeMode.Disable;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
200protected override ImeMode DefaultImeMode => ImeMode.Disable;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
133protected override ImeMode DefaultImeMode => ImeMode.Disable;
System.Windows.Forms.Tests (65)
System\Windows\Forms\ButtonBaseTests.cs (3)
51Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 78Assert.Equal(ImeMode.Disable, control.ImeMode); 79Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\ButtonTests.cs (3)
53Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 81Assert.Equal(ImeMode.Disable, control.ImeMode); 82Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\CheckBoxTests.cs (3)
55Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 82Assert.Equal(ImeMode.Disable, control.ImeMode); 83Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\ControlTests.Properties.cs (4)
6347yield return new object[] { ImeMode.Disable, ImeMode.Disable }; 6454yield return new object[] { ImeMode.Disable, ImeMode.Disable };
System\Windows\Forms\HScrollBarTests.cs (3)
53Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 76Assert.Equal(ImeMode.Disable, control.ImeMode); 77Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\LabelTests.cs (3)
49Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 74Assert.Equal(ImeMode.Disable, control.ImeMode); 75Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\MonthCalendarTests.cs (5)
62Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 86Assert.Equal(ImeMode.Disable, control.ImeMode); 87Assert.Equal(ImeMode.Disable, control.ImeModeBase); 1208yield return new object[] { ImeMode.Disable, ImeMode.Disable };
System\Windows\Forms\PictureBoxTests.cs (5)
52Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 74Assert.Equal(ImeMode.Disable, control.ImeMode); 75Assert.Equal(ImeMode.Disable, control.ImeModeBase); 906yield return new object[] { ImeMode.Disable, ImeMode.Disable };
System\Windows\Forms\ProgressBarTests.cs (5)
48Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 66Assert.Equal(ImeMode.Disable, control.ImeMode); 67Assert.Equal(ImeMode.Disable, control.ImeModeBase); 659yield return new object[] { ImeMode.Disable, ImeMode.Disable };
System\Windows\Forms\RadioButtonTests.cs (3)
54Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 81Assert.Equal(ImeMode.Disable, control.ImeMode); 82Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\ScrollBarTests.cs (3)
47Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 66Assert.Equal(ImeMode.Disable, control.ImeMode); 67Assert.Equal(ImeMode.Disable, control.ImeModeBase);
System\Windows\Forms\SplitterTests.cs (5)
48Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 67Assert.Equal(ImeMode.Disable, control.ImeMode); 68Assert.Equal(ImeMode.Disable, control.ImeModeBase); 887yield return new object[] { ImeMode.Disable, ImeMode.Disable };
System\Windows\Forms\ToolStripDropDownTests.cs (2)
1815yield return new object[] { ImeMode.Disable, ImeMode.Disable };
System\Windows\Forms\VScrollBarTests.cs (3)
52Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 75Assert.Equal(ImeMode.Disable, control.ImeMode); 76Assert.Equal(ImeMode.Disable, control.ImeModeBase);
TextBoxBaseTests.cs (10)
1409yield return new object[] { ImeMode.Disable, ImeMode.Disable }; 1447Assert.Equal(ImeMode.Disable, control.ImeModeBase); 1452Assert.Equal(ImeMode.Disable, control.ImeModeBase); 2480Assert.Equal(ImeMode.Disable, control.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;
TrackBarTests.cs (5)
49Assert.Equal(ImeMode.Disable, control.DefaultImeMode); 68Assert.Equal(ImeMode.Disable, control.ImeMode); 69Assert.Equal(ImeMode.Disable, control.ImeModeBase); 874yield return new object[] { ImeMode.Disable, ImeMode.Disable };
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (2)
240return this.CanEnableIme ? base.ImeModeBase : ImeMode.Disable; 654SetChildElementsIsImeEnabled(this.Child, ehImeMode != ImeMode.Disable);
System\Windows\Integration\WindowsFormsHost.cs (2)
98if (this.Child.ImeMode == ImeMode.Disable) 105if (this.Child.ImeMode != ImeMode.Disable)