Share via


InteractionMode Enumeration

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

Namespace:  Microsoft.Ink.TextInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Enumeration InteractionMode
'Usage
Dim instance As InteractionMode
public enum InteractionMode
public enum class InteractionMode
public enum InteractionMode

Members

Member name Description
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.

Examples

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;

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Microsoft.Ink.TextInput Namespace