Sdílet prostřednictvím


TextInputPanel.PopDownCorrectionHeight Property

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

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

Syntax

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

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

Property Value

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

Remarks

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

Note

The PopUpCorrectionHeight is greater than or equal to the PopDownCorrectionHeight.

Examples

The following example demonstrates the use of PopDownCorrectionHeight. The tip object is an instance of TextInputPanel. The PopDownCorrectionHeight 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