Share via


InPlaceState Enumeration

Specifies the in-place state values of the Tablet PC Input Panel.

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

Syntax

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

Members

Member name Description
Auto Allows the system to decide which in-place state of the Input Panel is the most appropriate.
HoverTarget Causes the Input Panel Icon to appear. The expanded Input Panel does not appear.
Expanded Causes the in-place Input Panel to always appear expanded, rather than the Input Panel Icon appearing first and then requiring the user to tap the Input Panel Icon before Input Panel expands.

Remarks

The system default is for the in-place Input Panel to appear in the hover state unless Input Panel is already visible in the expanded state, in which case Input Panel remains expanded.

Examples

The following example demonstrates the use of Expanded. The tip object is an instance of TextInputPanel.

tip = New TextInputPanel()
tip.AttachedEditWindow = textBox1.Handle
tip.DefaultInPlaceState = InPlaceState.Expanded
tip = new TextInputPanel();
tip.AttachedEditWindow = textBox1.Handle;
tip.DefaultInPlaceState = InPlaceState.Expanded;

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