IWpfTextViewHost Interface

Definition

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

public interface IWpfTextViewHost

Properties

HostControl

Gets the WPF control for this IWpfTextViewHost.

IsClosed

Determines whether this text view has been closed.

TextView

Gets the IWpfTextView that is contained within this IWpfTextViewHost.

Methods

Close()

Closes the text view host and its underlying text view.

GetTextViewMargin(String)

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

Events

Closed

Occurs immediately after closing the text view.

Applies to