IWpfTextView Methods

Include Protected Members
Include Inherited Members

The IWpfTextView type exposes the following members.

Methods

  Name Description
Public method Close Closes the text view host and its view. (Inherited from ITextView.)
Public method DisplayTextLineContainingBufferPosition(SnapshotPoint, Double, ViewRelativePosition) Formats and displays the contents of the text buffer so that the ITextViewLine containing the buffer position is displayed at the desired position. (Inherited from ITextView.)
Public method DisplayTextLineContainingBufferPosition(SnapshotPoint, Double, ViewRelativePosition, Nullable<Double>, Nullable<Double>) Formats and displays the contents of the text buffer so that the ITextViewLine containing the specified buffer position is displayed at the desired position. (Inherited from ITextView.)
Public method GetAdornmentLayer Gets a named IAdornmentLayer.
Public method GetSpaceReservationManager Gets a named ISpaceReservationManager.
Public method GetTextElementSpan Gets the SnapshotSpan of text that constitutes a text element (a single visual representation) at the given SnapshotPoint. (Inherited from ITextView.)
Public method GetTextViewLineContainingBufferPosition(SnapshotPoint) Gets the ITextViewLine that contains the specified text buffer position. (Inherited from ITextView.)
Public method GetTextViewLineContainingBufferPosition(SnapshotPoint) Gets the IWpfTextViewLine that contains the specified text buffer position.
Public method QueueSpaceReservationStackRefresh Requests a refresh of the space reservation stack. (Inherited from ITextView.)

Top

See Also

Reference

IWpfTextView Interface

Microsoft.VisualStudio.Text.Editor Namespace