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
public enum InteractionMode
public enum InteractionMode

 Member nameDescription
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. 
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. 
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. 
InPlaceThe Input Panel appears next to the text insertion point that currently has focus. 

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.TextTextBox.Text property of a TextBoxTextBox, outputTextBox. CurrentInteractionMode contains one of the InteractionMode values.

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft