This documentation is archived and is not being maintained.

InputModeEditor Class

Provides access to Smartphone input methods for entering text.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

public ref class InputModeEditor sealed
public final class InputModeEditor
public final class InputModeEditor

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:

  1. With the Name text box selected, hold down the star key and enter text using either the T9 or ABC input modes.

  2. Enter text in the City text box. Note that the input mode is the same as the Name text box.

No code example is currently available or this language may not be supported.

System.Object
  Microsoft.WindowsCE.Forms.InputModeEditor

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0
Show: