Sdílet prostřednictvím


TextInputPanel.PopUpCorrectionHeight Property

Gets the height of the post-insertion correction comb when it is positioned above Input Panel.

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

Syntax

'Declaration
Public ReadOnly Property PopUpCorrectionHeight As Integer
'Usage
Dim instance As TextInputPanel 
Dim value As Integer 

value = instance.PopUpCorrectionHeight
public int PopUpCorrectionHeight { get; }
public:
property int PopUpCorrectionHeight {
    int get ();
}
public function get PopUpCorrectionHeight () : int

Property Value

Type: System.Int32
The height of the post-insertion correction comb when it is positioned above Input Panel.

Remarks

To get the full height of the in-place Input Panel with the post-insertion correction comb popped-up, add the height of the InPlaceBoundingRectangle to the PopUpCorrectionHeight.

Examples

The following example demonstrates the use of PopUpCorrectionHeight. The tip object is an instance of TextInputPanel. The PopUpCorrectionHeight value is used to set TextBox.Text property of a TextBox, outputTextBox.

outputTextBox.Text += "Pop Down Correction Height is " + tip.PopDownCorrectionHeight.ToString() + Environment.NewLine
outputTextBox.Text += "Pop Up Correction Height is " + tip.PopUpCorrectionHeight.ToString() + Environment.NewLine
outputTextBox.Text += "Pop Down Correction Height is " + tip.PopDownCorrectionHeight + Environment.NewLine;
outputTextBox.Text += "Pop Up Correction Height is " + tip.PopUpCorrectionHeight + Environment.NewLine;

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

TextInputPanel Class

TextInputPanel Members

Microsoft.Ink.TextInput Namespace