TextInputPanel.AttachedEditControl Property
Gets or sets the control that the TextInputPanel object is attached to.
Namespace: Microsoft.Ink.TextInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Property AttachedEditControl As Control
'Usage
Dim instance As TextInputPanel
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 to which the TextInputPanel object attaches.
Examples
The following example demonstrates tip as an instance of. The Control.Name property of AttachedEditControl is used to set the TextBox.Text property of a TextBox, outputTextBox.
outputTextBox.Text += "Attached Edit Control is " + tip.AttachedEditControl.Name + Environment.NewLine
outputTextBox.Text += "Attached Edit Control is " + tip.AttachedEditControl.Name + Environment.NewLine;
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
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