Aracılığıyla paylaş


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)

Syntax

'Bildirim
ReadOnly Property TextViewLines As IWpfTextViewLineCollection
IWpfTextViewLineCollection TextViewLines { get; }
property IWpfTextViewLineCollection^ TextViewLines {
    IWpfTextViewLineCollection^ get ();
}
abstract TextViewLines : IWpfTextViewLineCollection
function get TextViewLines () : IWpfTextViewLineCollection

Property Value

Type: Microsoft.VisualStudio.Text.Editor.IWpfTextViewLineCollection
The text view lines as an IWpfTextViewLineCollection.

Remarks

This property is nulla null reference (Nothing in Visual Basic) during the initialization of the view.

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

.NET Framework Security

See Also

Reference

IWpfTextView Interface

TextViewLines Overload

Microsoft.VisualStudio.Text.Editor Namespace