IWpfTextViewHost Interface
TOC
Collapse the table of content
Expand the table of content

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

NameDescription
System_CAPS_pubpropertyHostControl

Gets the WPF control for this IWpfTextViewHost.

System_CAPS_pubpropertyIsClosed

Determines whether this text view has been closed.

System_CAPS_pubpropertyTextView

Gets the IWpfTextView that is contained within this IWpfTextViewHost.

NameDescription
System_CAPS_pubmethodClose()

Closes the text view host and its underlying text view.

System_CAPS_pubmethodGetTextViewMargin(String)

Gets the ITextViewMargin with the specified margin name that is attached to an edge of this IWpfTextView.

NameDescription
System_CAPS_pubeventClosed

Occurs immediately after closing the text view.

Return to top
Show:
© 2016 Microsoft