GetLineText Method (WPFTextBox)

Class

WPFTextBox.

Action

Returns the text that is currently displayed on the specified line.

Syntax

C#
lineText = textBox.GetLineText(lineIndex)
VB
lineText = textBox.GetLineText(lineIndex)
Variable Description
lineText String.
lineIndex The zero-based line index for which to retrieve the currently displayed text. Integer.