PenInputPanel.PenInputPanel(Control) Constructor
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 PenInputPanel (
Control attachControl
)
public function PenInputPanel (
attachControl : Control
)
Not applicable.
Parameters
- attachControl
The control to attach the PenInputPanel object to.
Example
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 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.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PenInputPanel Class
PenInputPanel Members
Microsoft.Ink Namespace
PenInputPanel
PenInputPanel.AttachedEditControl