Export (0) Print
Expand All

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)

public enum InteractionMode

Member nameDescription
InPlaceThe Input Panel appears next to the text insertion point that currently has focus.
FloatingThe 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.
DockedTopThe 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.
DockedBottomThe 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 + Environment.NewLine;

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft