TextInputPanel - класс
Обновлен: Ноябрь 2007
Provides methods to attach and control the Tablet PC Input Panel.
Пространство имен: Microsoft.Ink.TextInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
<UIPermissionAttribute(SecurityAction.Demand, Window := UIPermissionWindow.SafeTopLevelWindows)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class TextInputPanel _
Implements IDisposable
'Применение
Dim instance As TextInputPanel
[UIPermissionAttribute(SecurityAction.Demand, Window = UIPermissionWindow.SafeTopLevelWindows)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class TextInputPanel : IDisposable
[UIPermissionAttribute(SecurityAction::Demand, Window = UIPermissionWindow::SafeTopLevelWindows)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class TextInputPanel : IDisposable
/** @attribute UIPermissionAttribute(SecurityAction.Demand, Window = UIPermissionWindow.SafeTopLevelWindows) */
/** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust") */
public class TextInputPanel implements IDisposable
public class TextInputPanel implements IDisposable
Заметки
TextInputPanel supersedes PenInputPanel, offering more control of Tablet PC Input Panel and more information about its state.
The TextInputPanel class is available as an attachable object allowing you to add Tablet PC Input Panel functionality to existing controls. The user interface is largely mandated by the current input language. You have the option of choosing either handwriting or keyboard as the default input method for the TextInputPanel object. The end user may switch between input methods using buttons on the user interface.
the TextInputPanel class offers the following customizations to Input Panel behavior:
Complete control over the positioning of the in-place Input Panel when the application has focus.
Access to the ink objects from the Input Panel text insertion in addition to the recognized text.
A set of properties corresponding exactly to Input Panel’s capabilities giving both the ability to know Input Panel’s current state and customize its configuration.
Предупреждение
You must call the Dispose method on this object before it goes out of scope. This object maintains non-managed resources. Relying on finalization for this object can cause memory leaks and exceptions within your application.
For an example of disposing managed objects, see Using the Managed Library.
Иерархия наследования
System.Object
Microsoft.Ink.TextInput.TextInputPanel
Потокобезопасность
Любые открытые члены этого типа, объявленные как static (Shared в Visual Basic), являются потокобезопасными. Потокобезопасность членов экземпляров не гарантируется.
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0