Share via


PenInputPanel Constructor (Control)

Deprecated. Creates a PenInputPanel object and attaches it to the specified control. PenInputPanel has been replaced by Microsoft.Ink.TextInput.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Sub New ( _
    attachControl As Control _
)
'Usage
Dim attachControl As Control 

Dim instance As New PenInputPanel(attachControl)
public PenInputPanel(
    Control attachControl
)
public:
PenInputPanel(
    Control^ attachControl
)
public function PenInputPanel(
    attachControl : Control
)

Parameters

Examples

This C# example creates a PenInputPanel object, thePenInputPanel, attaching it to the control, theTextBox, that is passed into the contructor.

[C#]

// Declare the PenInputPanel variable.
PenInputPanel thePenInputPanel;

// Create a PenInputPanel and attach
// it to the textbox control.
thePenInputPanel = new PenInputPanel(theTextBox);

This Microsoft® Visual Basic® .NET example creates a PenInputPanel object, thePenInputPanel, attaching it to the control, theTextBox, that is passed into the contructor.

[Visual Basic]

' Create a PenInputPanel object and attach
' it to the TextBox control.
Dim thePenInputPanel As New PenInputPanel(theTextBox)

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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 Framework

Supported in: 3.0

See Also

Reference

PenInputPanel Class

PenInputPanel Members

PenInputPanel Overload

Microsoft.Ink Namespace

PenInputPanel

PenInputPanel.AttachedEditControl