InputPanel.CurrentInputMethod Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the input method for the Pocket PC.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

public InputMethod CurrentInputMethod { get; set; }

Property Value

Type: Microsoft.WindowsCE.Forms.InputMethod
An object that represents an input method.

You can set this property to any one of the available input methods on the device.

The following example sets this property to a method selected in a list box. This example is part of a larger example provided for the InputPanel.InputMethodCollection class.

// Get the selected input method from the list box.
string strIM;
strIM = listBox1.SelectedItem.ToString();

// Iterate through the input method collection.
// When there is a match with the input method
// selected in the list box, set the
// CurrentInputMethod property to the selected method.
foreach (InputMethod im in ip.InputMethods)
 if (im.Name == strIM)
  // Change the input method.
  ip.CurrentInputMethod = im;

Windows CE, Windows Mobile for Pocket PC

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.

.NET Compact Framework

Supported in: 3.5, 2.0