PenInputPanel - конструктор
Обновлен: Ноябрь 2007
Deprecated. Initializes a new instance of the PenInputPanel class that is not attached to any window or control. PenInputPanel has been replaced by Microsoft.Ink.TextInput.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public Sub New
'Применение
Dim instance As New PenInputPanel()
public PenInputPanel()
public:
PenInputPanel()
public PenInputPanel()
public function PenInputPanel()
Заметки
![]() |
---|
If using under partial trust, this constructor requires SecurityPermissionFlag.AllFlags permission, in addition to the permissions required by PenInputPanel. See Security and Trust for more information. |
Примеры
This C# example demonstrates the default constructor of the PenInputPanel object. It creates a PenInputPanel object, thePenInputPanel, and attaches it to an existing control by assigning the control to the AttachedEditControl property.
[C#]
PenInputPanel thePenInputPanel = New PenInputPanel();
thePenInputPanel.AttachedEditControl = theTextBox;
This Microsoft® Visual Basic® .NET example demonstrates the default constructor of the PenInputPanel object. It creates a PenInputPanel object, thePenInPutPanel, and attaches it to an existing control by assigning the control to the AttachedEditControl property.
[Visual Basic]
Dim thePenInputPanel as New PenInputPanel()
thePenInputPanel.AttachedEditControl = theTextBox
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0