Export (0) Print
Expand All

CorrectionPosition Enumeration

Specifies the direction in which the post insertion correction comb should appear.

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

public enum CorrectionPosition
public enum CorrectionPosition
public enum CorrectionPosition

 Member nameDescription
AutoThe position of the correction comb is determined by the system. 
BottomThe correction comb is shown below the Input Panel. 
TopThe correction comb is shown above the Input Panel. 

The following example demonstrates the use of Bottom. The tip object is an instance of TextInputPanel. In this example xInPlacePositionTextBox.Text and yInPlacePositionTextBox.Text are TextBox.TextTextBox.Text properties that contain the values used in setting the x and y screen coordinates for positioning the Tablet PC Input Panel. An editable field where the focus is placed is represented by TextBoxTextBox control, textBox1.

textBox1.Focus();
int xPosition = Convert.ToInt32(xInPlacePositionTextBox.Text, 10);
int yPosition = Convert.ToInt32(yInPlacePositionTextBox.Text, 10);
tip.SetInPlacePosition(xPosition, yPosition, CorrectionPosition.Bottom);

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