IVsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView) IVsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView) IVsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView) IVsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView) IVsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView) IVsEditorAdaptersFactoryService.GetWpfTextView(IVsTextView) Method

Definition

Get the WPF text view of a text view adapter.

public:
 Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ GetWpfTextView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ viewAdapter);
public:
 Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ GetWpfTextView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ viewAdapter);
Microsoft::VisualStudio::Text::Editor::IWpfTextView GetWpfTextView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & viewAdapter);
public Microsoft.VisualStudio.Text.Editor.IWpfTextView GetWpfTextView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView viewAdapter);
abstract member GetWpfTextView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> Microsoft.VisualStudio.Text.Editor.IWpfTextView
Public Function GetWpfTextView (viewAdapter As IVsTextView) As IWpfTextView
Parameters
viewAdapter
IVsTextView IVsTextView IVsTextView IVsTextView IVsTextView IVsTextView

The text view adapter of interest.

Returns

The IWpfTextView that presents the text in the UI, or null if this method is called before content has been established for the adapter.

Exceptions

Applies to