संपादित करें

इसके माध्यम से साझा किया गया


Control.ImeMode Property

Definition

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

public:
 property System::Windows::Forms::ImeMode ImeMode { System::Windows::Forms::ImeMode get(); void set(System::Windows::Forms::ImeMode value); };
public System.Windows.Forms.ImeMode ImeMode { get; set; }
member this.ImeMode : System.Windows.Forms.ImeMode with get, set
Public Property ImeMode As ImeMode

Property Value

One of the ImeMode values. The default is Inherit.

Exceptions

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

Remarks

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

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.

Applies to

See also