IWpfTextView IWpfTextView IWpfTextView IWpfTextView IWpfTextView IWpfTextView Interface

Definition

Represents a Visual Studio ITextView for the Windows Presentation Foundation (WPF) platform.

public interface class IWpfTextView : Microsoft::VisualStudio::Text::Editor::ITextView, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface class IWpfTextView : Microsoft::VisualStudio::Text::Editor::ITextView, Microsoft::VisualStudio::Utilities::IPropertyOwner
__interface IWpfTextView : Microsoft::VisualStudio::Text::Editor::ITextView, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IWpfTextView : Microsoft.VisualStudio.Text.Editor.ITextView, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IWpfTextView = interface
    interface ITextView
    interface IPropertyOwner
Public Interface IWpfTextView
Implements IPropertyOwner, ITextView
Implements

Remarks

For more information about this interface, and about how it differs from ITextView, see "Text View Subsystem" in Inside the Editor.

Properties

Background Background Background Background Background Background

Gets or sets the background for the visual element.

FormattedLineSource FormattedLineSource FormattedLineSource FormattedLineSource FormattedLineSource FormattedLineSource

Gets the text formatter used by the view.

LineTransformSource LineTransformSource LineTransformSource LineTransformSource LineTransformSource LineTransformSource

Gets the line transformer used by the view.

TextViewLines TextViewLines TextViewLines TextViewLines TextViewLines TextViewLines

Gets the text view lines as an IWpfTextViewLineCollection.

VisualElement VisualElement VisualElement VisualElement VisualElement VisualElement

Gets the FrameworkElement that renders the view.

ZoomLevel ZoomLevel ZoomLevel ZoomLevel ZoomLevel ZoomLevel

Gets or sets the zoom level for the IWpfTextView between 20% to 400%.

Methods

GetAdornmentLayer(String) GetAdornmentLayer(String) GetAdornmentLayer(String) GetAdornmentLayer(String) GetAdornmentLayer(String) GetAdornmentLayer(String)

Gets a named IAdornmentLayer.

GetSpaceReservationManager(String) GetSpaceReservationManager(String) GetSpaceReservationManager(String) GetSpaceReservationManager(String) GetSpaceReservationManager(String) GetSpaceReservationManager(String)

Gets a named ISpaceReservationManager.

GetTextViewLineContainingBufferPosition(SnapshotPoint) GetTextViewLineContainingBufferPosition(SnapshotPoint) GetTextViewLineContainingBufferPosition(SnapshotPoint) GetTextViewLineContainingBufferPosition(SnapshotPoint) GetTextViewLineContainingBufferPosition(SnapshotPoint) GetTextViewLineContainingBufferPosition(SnapshotPoint)

Gets the IWpfTextViewLine that contains the specified text buffer position.

Events

BackgroundBrushChanged BackgroundBrushChanged BackgroundBrushChanged BackgroundBrushChanged BackgroundBrushChanged BackgroundBrushChanged

Occurs when the Background is set.

ZoomLevelChanged ZoomLevelChanged ZoomLevelChanged ZoomLevelChanged ZoomLevelChanged ZoomLevelChanged

Occurs when the ZoomLevel is set.

Extension Methods

GetInOuterLayout(ITextView) GetInOuterLayout(ITextView) GetInOuterLayout(ITextView) GetInOuterLayout(ITextView) GetInOuterLayout(ITextView) GetInOuterLayout(ITextView)
GetMultiSelectionBroker(ITextView) GetMultiSelectionBroker(ITextView) GetMultiSelectionBroker(ITextView) GetMultiSelectionBroker(ITextView) GetMultiSelectionBroker(ITextView) GetMultiSelectionBroker(ITextView)
IsEmbeddedTextView(ITextView) IsEmbeddedTextView(ITextView) IsEmbeddedTextView(ITextView) IsEmbeddedTextView(ITextView) IsEmbeddedTextView(ITextView) IsEmbeddedTextView(ITextView)
TryGetContainingTextView(ITextView, ITextView) TryGetContainingTextView(ITextView, ITextView) TryGetContainingTextView(ITextView, ITextView) TryGetContainingTextView(ITextView, ITextView) TryGetContainingTextView(ITextView, ITextView) TryGetContainingTextView(ITextView, ITextView)

Applies to