Partilhar via


IWpfTextViewHost Interface

Definition

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

public interface class IWpfTextViewHost
public interface class IWpfTextViewHost
__interface IWpfTextViewHost
public interface IWpfTextViewHost
type IWpfTextViewHost = interface
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 IWpfTextViewMargin with the given marginName that is attached to an edge of this IWpfTextView.

Events

Closed

Occurs immediately after closing the text view.

Applies to