GetFirstVisibleLineIndex Method (WPFTextBox)

Class

WPFTextBox.

Action

Returns the line index for the first line that is currently visible in the text box.

Syntax

C#
firstVisibleLineIndex = textBox.GetFirstVisibleLineIndex()
VB
firstVisibleLineIndex = textBox.GetFirstVisibleLineIndex()
Variable Description
firstVisibleLineIndex Integer.