InputPanel Class

Controls the soft input panel (SIP) for entering data on Pocket PCs and other Windows CE.NET devices.

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

public ref class InputPanel : public Component
public class InputPanel extends Component
public class InputPanel extends Component

The .NET Compact Framework provides the InputPanel component, which supplies a managed implementation of the SIP control in Windows CE. When you create a Windows-based application that targets the Pocket PC platform, Visual Studio automatically adds a MainMenu component to the Form1 file in your project. Your form then contains the lower menu bar with the SIP icon. No programming is required to use the SIP; users can toggle the display of the SIP by tapping the icon. To program the SIP, drag the InputPanel component from the ToolBox to your form.

You can show the SIP programmatically using the Enabled property, get its size with the Bounds property, and determine the size of the form area not occupied by the SIP with the VisibleDesktop property. Note that the Bounds property always returns a width of 240 pixels and a height of 80 pixels for Pocket PCs, regardless of whether or not the SIP is enabled. The EnabledChanged event occurs whenever the SIP is enabled or disabled, either by the user or programmatically. A typical reason for programming the SIP is to reposition or resize controls on the form when the SIP is enabled and disabled.

How to: Use the InputPanel Component.NET Compact Framework
How to: Use the InputPanel Component.NET Compact Framework
How to: Use the InputPanel Component.NET Compact Framework

The following code example contains a text box on a page of a tab control. It displays the SIP when the text box receives the focus, and uses the EnabledChanged event to lower the height of the tab control when the SIP is enabled and return to the original height when the SIP is disabled.

Note that you must add a reference to Microsoft.WindowsCE.Forms to your project.

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


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 CE, Windows Mobile for Pocket PC

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, 1.0