TextInputPanel.CurrentInputArea - свойство
Обновлен: Ноябрь 2007
Gets the current input area.
Пространство имен: Microsoft.Ink.TextInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public ReadOnly Property CurrentInputArea As PanelInputArea
'Применение
Dim instance As TextInputPanel
Dim value As PanelInputArea
value = instance.CurrentInputArea
public PanelInputArea CurrentInputArea { get; }
public:
property PanelInputArea CurrentInputArea {
PanelInputArea get ();
}
/** @property */
public PanelInputArea get_CurrentInputArea()
public function get CurrentInputArea () : PanelInputArea
Значение свойства
Тип: Microsoft.Ink.TextInput.PanelInputArea
The current input area.
Заметки
The current input area is different from the default input area when the user has explicitly switched focus between areas, or if the default input area is unavailable due to an unsupported recognizer for the input language.
When the Tablet PC Input Panel is closed or hidden the current input area is reset to the default input area, unless the default state is Auto in which case the current Input Area is not reset and represents the last visible input area.
Примеры
The following example demonstrates the use of CurrentInputArea. The tip object is an instance of TextInputPanel. The CurrentInputArea and DefaultInputArea values are used to set the TextBox.Text property of a TextBox, outputTextBox. CurrentInputArea and DefaultInputArea contain one of the PanelInputArea values.
outputTextBox.Text += "Current Input Area is " + tip.CurrentInputArea.ToString() + Environment.NewLine
outputTextBox.Text += "Default Input Area is " + tip.DefaultInputArea.ToString() + Environment.NewLine
outputTextBox.Text += "Current Input Area is " + tip.CurrentInputArea + Environment.NewLine;
outputTextBox.Text += "Default Input Area is " + tip.DefaultInputArea + Environment.NewLine;
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0