InputModeEditor Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides access to Smartphone input methods for entering text.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)
You can set the input mode only on a TextBox. To specify an input mode, specify one of the values from the InputMode enumeration. The Smartphone supports the ABC, T9, and numeric input modes.
The AlphaCurrent mode is the preferred input mode value for text boxes used for alpha characters. This mode matches the mode selected by holding down the star (*) key on the Smartphone. You cannot use an InputModeEditor to explicitly change casing settings for alpha input modes. However, the alpha input mode used (T9 or ABC) are retained by the AlphaCurrent input mode when set with the star key.
Supported on Smartphone 2003. Using this class on a device other than the Smartphone or on a control other than a TextBox fails but no exception is thrown.
The following code example shows setting the input mode on three text boxes: Name, Phone, and City. The Name and City text boxes are set with the AlphaCurrent input mode and the Phone text box is set with the Numeric input mode.
To observe how AlphaCurrent works, perform the following procedure:
With the Name text box selected, hold down the star key and enter text using either the T9 or ABC input modes.
Enter text in the City text box. Note that the input mode is the same as the Name text box.
Windows Mobile for Smartphone
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.