IWpfTextView.TextViewLines Property

Definition

Gets the text view lines as an IWpfTextViewLineCollection.

C++
public:
 property Microsoft::VisualStudio::Text::Editor::IWpfTextViewLineCollection ^ TextViewLines { Microsoft::VisualStudio::Text::Editor::IWpfTextViewLineCollection ^ get(); };

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

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022