TextInputPanel Class

Provides methods to attach and control the Tablet PC Input Panel.

Namespace: Microsoft.Ink.TextInput
Assembly: Microsoft.Ink (in microsoft.ink.dll)

public class TextInputPanel : IDisposable
public class TextInputPanel implements IDisposable
public class TextInputPanel implements IDisposable
Not applicable.

TextInputPanel supersedes PenInputPanel, offering more control of Tablet PC Input Panel and more information about its state.

The TextInputPanel class is available as an attachable object allowing you to add Tablet PC Input Panel functionality to existing controls. The user interface is largely mandated by the current input language. You have the option of choosing either handwriting or keyboard as the default input method for the TextInputPanel object. The end user may switch between input methods using buttons on the user interface.

the TextInputPanel class offers the following customizations to Input Panel behavior:

  • Complete control over the positioning of the in-place Input Panel when the application has focus.

  • Access to the ink objects from the Input Panel text insertion in addition to the recognized text.

  • A set of properties corresponding exactly to Input Panel’s capabilities giving both the ability to know Input Panel’s current state and customize its configuration.

Caution noteCaution:

You must call the Dispose method on this object before it goes out of scope. This object maintains non-managed resources. Relying on finalization for this object can cause memory leaks and exceptions within your application.

For an example of disposing managed objects, see Using the Managed Library.


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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0