Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

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.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 TextBox control, textBox1.

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

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

© 2015 Microsoft