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)
Syntax
'Dichiarazione
Public Interface IWpfTextViewHost
public interface IWpfTextViewHost
public interface class IWpfTextViewHost
type IWpfTextViewHost = interface end
public interface IWpfTextViewHost
The IWpfTextViewHost type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the text view host and its underlying text view. | |
GetTextViewMargin | Gets the ITextViewMargin with the specified margin name that is attached to an edge of this IWpfTextView. |
Top
Events
Name | Description | |
---|---|---|
Closed | Occurs immediately after closing the text view. |
Top