InputPanel Constructor (IContainer)

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

Initializes a new instance of the InputPanel class for enabling and disabling the soft input panel (SIP), and specifies the container to which the InputPanel instance will be added.

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

Syntax

'Declaration
Public Sub New ( _
    container As IContainer _
)
'Usage
Dim container As IContainer

Dim instance As New InputPanel(container)
public InputPanel(
    IContainer container
)
public:
InputPanel(
    IContainer^ container
)
new : 
        container:IContainer -> InputPanel

Parameters

Remarks

The InputPanel(IContainer) constructor enables you to associate the SIP control with any Container object. This feature can be useful if your application contains multiple components and you want to release all of them simultaneously. For example, if you associate several controls with a Container, you can call Dispose on the Container to force the disposal of all of these components.

This instance will exist until its container releases it to garbage collection.

To program the SIP, drag the InputPanel component from the ToolBox to your form.

A MainMenu component is required to use the InputPanel component. Visual Studio automatically adds a MainMenu component to the Form1 class when you create a Pocket PC project. However, it does not add this component to the forms that you subsequently add to the project.

You use the InputPanel component only when you want to programmatically control the SIP. This component is not required for users to display the SIP, because the SIP icon is already available on the lower menu bar when you create a Windows-based application for the Pocket PC.

.NET Framework Security

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

InputPanel Class

InputPanel Members

InputPanel Overload

Microsoft.WindowsCE.Forms Namespace