Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Control::ImeMode Property

Gets or sets the Input Method Editor (IME) mode of the control.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

property ImeMode ImeMode {
	ImeMode get ();
	void set (ImeMode value);

Property Value

Type: System.Windows.Forms::ImeMode
One of the ImeMode values. The default is Inherit.


The assigned value is not one of the ImeMode enumeration values.

An IME is a program that enables users to enter complex characters and symbols, such as Japanese Kanji characters, using a standard keyboard. The ImeMode property is typically set to ImeMode::Off for a TextBox control that is intended to only enter numeric values. The ImeMode property value is set to ImeMode::NoControl for the Form class.

Most classes that do not directly support Input Method Editors, or allow direct input from an IME, will set the value of this property to NoControl.

Important noteImportant

The user can interactively change the ImeMode unless it has been programmatically set to ImeMode::Disable. In this case, the user will not be able to use the IME.

The ImeMode property is ignored on Windows 8 when the global input mode is in effect. For more info, see Switch Text Input Changed from Per-Thread to Per-User.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft