This documentation is archived and is not being maintained.

InPlaceState Enumeration

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

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

public enum InPlaceState
public enum InPlaceState
public enum InPlaceState

 Member nameDescription
AutoAllows the system to decide which in-place state of the Input Panel is the most appropriate. 
ExpandedCauses 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. 
HoverTargetCauses the Input Panel Icon to appear. The expanded Input Panel does not appear. 

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.

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;

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