PenInputPanel.AttachedEditControl - свойство
Обновлен: Ноябрь 2007
Deprecated. Gets or sets the control that the PenInputPanel object is attached to. PenInputPanel has been replaced by Microsoft.Ink.TextInput.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public Property AttachedEditControl As Control
'Применение
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)
Значение свойства
Тип: System.Windows.Forms.Control
The control that the PenInputPanel object is attached to.
Заметки
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.
Примеры
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
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
Microsoft.Ink - пространство имен
PenInputPanel.AttachedEditControl