Export (0) Print
Expand All

IWpfTextViewHost Interface

Contains an IWpfTextView and the margins that surround it, such as a scrollbar or line number gutter.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public interface IWpfTextViewHost

The IWpfTextViewHost type exposes the following members.

  NameDescription
Public propertyHostControlGets the WPF control for this IWpfTextViewHost.
Public propertyIsClosedDetermines whether this text view has been closed.
Public propertyTextViewGets the IWpfTextView that is contained within this IWpfTextViewHost.
Top

  NameDescription
Public methodCloseCloses the text view host and its underlying text view.
Public methodGetTextViewMarginGets the ITextViewMargin with the specified margin name that is attached to an edge of this IWpfTextView.
Top

  NameDescription
Public eventClosedOccurs immediately after closing the text view.
Top
Show:
© 2014 Microsoft