PenInputPanel.AttachedEditControl Property
Deprecated. Gets or sets the control that the PenInputPanel object is attached to. PenInputPanel has been replaced by Microsoft.Ink.TextInput.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Property AttachedEditControl As Control
'Usage
Dim instance As PenInputPanel
Dim value As Control
value = instance.AttachedEditControl
instance.AttachedEditControl = value
public Control AttachedEditControl { get; set; }
public:
property Control^ AttachedEditControl {
Control^ get ();
void set (Control^ value);
}
/** @property */
public Control get_AttachedEditControl ()
/** @property */
public void set_AttachedEditControl (Control value)
public function get AttachedEditControl () : Control
public function set AttachedEditControl (value : Control)
Not applicable.
Property Value
The control that the PenInputPanel object is attached to.
Remarks
The AttachedEditControl and AttachedEditWindow properties are independent properties. Setting one does not necessarily update the other. Use the property that you originally used to attach the PenInputPanel object to a control or window.
Example
This C# example creates a PenInputPanel object, thePenInputPanel
, and attaches it to an InkEdit control, theInkEdit
, by setting the AttachedEditControl property.
[C#]
// Declare and create a PenInputPanel
PenInputPanel thePenInputPanel = new PenInputPanel();
// Attach the PenInputPanel to an InkEdit control
thePenInputPanel.AttachedEditControl = theInkEdit;
This Microsoft® Visual Basic® .NET example creates a PenInputPanel object, thePenInputPanel
, and attaches it to an InkEdit control, theInkEdit
, by setting the AttachedEditControl property.
[Visual Basic]
' Declare and create a PenInputPanel
Dim thePenInputPanel As New PenInputPanel()
' Attach the PenInputPanel to an InkEdit control
thePenInputPanel.AttachedEditControl = theInkEdit
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.AttachedEditControl