ITextView Properties

Include Protected Members
Include Inherited Members

The ITextView type exposes the following members.

Properties

  Name Description
Public property BufferGraph Gets the IBufferGraph that contains the set of source buffers that contribute to this view.
Public property Caret Gets the caret element.
Public property HasAggregateFocus Determines whether the view or any of its adornments has focus.
Public property InLayout Determines whether the view is in the process of being laid out.
Public property IsClosed Determines whether this text view has been closed.
Public property IsMouseOverViewOrAdornments Determines whether the mouse is over the view or any of its adornments.
Public property LineHeight Gets the nominal height of a line of text in the view.
Public property MaxTextRightCoordinate Gets the right coordinate of the longest line, whether or not that line is currently visible, in logical pixels.
Public property Options Gets the options for this text view.
Public property Properties Gets the collection of properties controlled by the property owner. (Inherited from IPropertyOwner.)
Public property ProvisionalTextHighlight Gets the span of text covered by the provisional text highlight.
Public property Roles The roles which this view plays. Roles partially determine the extensions that are instantiated for the view.
Public property Selection Gets the selection element.
Public property TextBuffer Gets the ITextBuffer whose text is rendered in this view.
Public property TextDataModel Gets the ITextDataModel of this text view.
Public property TextSnapshot Gets the ITextSnapshot of the text that is currently rendered in the view.
Public property TextViewLines Gets a read-only list of the ITextViewLine objects rendered in this view.
Public property TextViewModel Gets the ITextViewModel of this text view.
Public property ViewportBottom Gets the position of the bottom edge of the viewpoint in the text rendering coordinate system.
Public property ViewportHeight Gets the height of the visible content window (including the margin) in logical pixels.
Public property ViewportLeft Gets or sets the position of the left edge of the viewpoint in the text rendering coordinate system.
Public property ViewportRight Gets the position of the right edge of the viewpoint in the text rendering coordinate system.
Public property ViewportTop Gets the position of the top edge of the viewpoint in the text rendering coordinate system.
Public property ViewportWidth Gets the width of the visible content window (including the margin) in logical pixels.
Public property ViewScroller Gets a helper that provides various methods to scroll or manipulate the view.
Public property VisualSnapshot Gets the ITextSnapshot of the visual buffer that is being rendered.

Top

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace