Поделиться через


InteractionMode - перечисление

Обновлен: Ноябрь 2007

Specifies the interaction modes that can be chosen by the user for the Tablet PC Input Panel.

Пространство имен:  Microsoft.Ink.TextInput
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Enumeration InteractionMode
'Применение
Dim instance As InteractionMode
public enum InteractionMode
public enum class InteractionMode
public enum InteractionMode
public enum InteractionMode

Члены

Имя члена Описание
InPlace The Input Panel appears next to the text insertion point that currently has focus.
Floating The Input Panel is not tied to an insertion point. The floating Input Panel is opened by tapping on the Input Panel tab which appears by default on the left edge of the screen. The positioning and control of the Input Panel is left entirely to the user.
DockedTop The Input Panel appears at the top of the screen and the active desktop is resized so that the Input Panel does not overlap with any other windows or UI elements.
DockedBottom The Input Panel appears at the bottom of the screen and the active desktop is resized so that the Input Panel does not overlap with any other windows or UI elements.

Примеры

The following example demonstrates the use of InteractionMode. The object, tip, is an instance of TextInputPanel. The CurrentInteractionMode value is used to set the TextBox.Text property of a TextBox, outputTextBox. CurrentInteractionMode contains one of the InteractionMode values.

outputTextBox.Text += "Current Interaction Mode is " + tip.CurrentInteractionMode.ToString() + Environment.NewLine
outputTextBox.Text += "Current Interaction Mode is " + tip.CurrentInteractionMode + Environment.NewLine;

Платформы

Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Microsoft.Ink.TextInput - пространство имен