IWpfTextView.TextViewLines Property


Gets the text view lines as an IWpfTextViewLineCollection.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

IWpfTextViewLineCollection TextViewLines { get; }

This property is null during the initialization of the view.

None of the lines in this collection have a P:Microsoft.VisualStudio.Text.Editor.IWpfTextViewLine.VisibilityState of Unattached. Often the first and last lines in this collection have a VisibilityState of Hidden.

Return to top