Export (0) Print
Expand All

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)

public enum InPlaceState

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

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 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:
© 2014 Microsoft