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