Share via


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);
}
public function get AttachedEditControl () : Control 
public function set AttachedEditControl (value : Control)

Property Value

Type: System.Windows.Forms.Control
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.

Examples

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

Microsoft.Ink Namespace

PenInputPanel.AttachedEditControl