Sdílet prostřednictvím


IWpfTextViewMargin Interface

Definition

Represents margins that are attached to an edge of an IWpfTextView.

public interface class IWpfTextViewMargin : IDisposable, Microsoft::VisualStudio::Text::Editor::ITextViewMargin
public interface IWpfTextViewMargin : IDisposable, Microsoft.VisualStudio.Text.Editor.ITextViewMargin
type IWpfTextViewMargin = interface
    interface ITextViewMargin
    interface IDisposable
Public Interface IWpfTextViewMargin
Implements IDisposable, ITextViewMargin
Implements

Remarks

For more information about margins, see the "Margins" section of Inside the Editor. For more information about margins, see the "Extending Margins and Scrollbars" section in Language Service and Editor Extension Points.

Properties

Enabled

Determines whether the margin is enabled.

(Inherited from ITextViewMargin)
MarginSize

Gets the size of the margin.

(Inherited from ITextViewMargin)
VisualElement

Gets the FrameworkElement that renders the margin.

Methods

GetTextViewMargin(String)

Gets the ITextViewMargin with the given marginName.

(Inherited from ITextViewMargin)

Applies to