TextInputPanel.CurrentInteractionMode Property
Gets the positioning of the Tablet PC Input Panel.
Namespace: Microsoft.Ink.TextInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentInteractionMode As InteractionMode
'Usage
Dim instance As TextInputPanel
Dim value As InteractionMode
value = instance.CurrentInteractionMode
public InteractionMode CurrentInteractionMode { get; }
public:
property InteractionMode CurrentInteractionMode {
InteractionMode get ();
}
public function get CurrentInteractionMode () : InteractionMode
Property Value
Type: Microsoft.Ink.TextInput.InteractionMode
The positioning of the Tablet PC Input Panel.
Remarks
The current interaction mode is dictated by the user. However, the InPlace mode can be disabled by the application on a per field basis.
Examples
The following example demonstrates the use of CurrentInteractionMode. The tip object 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