Share via


IWpfTextView.TextViewLines Property

Definition

Gets the text view lines as an IWpfTextViewLineCollection.

public:
 property Microsoft::VisualStudio::Text::Editor::IWpfTextViewLineCollection ^ TextViewLines { Microsoft::VisualStudio::Text::Editor::IWpfTextViewLineCollection ^ get(); };
public Microsoft.VisualStudio.Text.Editor.IWpfTextViewLineCollection TextViewLines { get; }
member this.TextViewLines : Microsoft.VisualStudio.Text.Editor.IWpfTextViewLineCollection
Public ReadOnly Property TextViewLines As IWpfTextViewLineCollection

Property Value

The text view lines as an IWpfTextViewLineCollection.

Remarks

This property will be null during the view's initialization.

None of the lines in this collection have a VisibilityState of Unattached. Often the first and last lines in this collection will have a VisibilityState of Hidden.

Applies to