ITextViewMargin Interface

 

Represents the margin that is attached to an edge of an ITextView.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public interface ITextViewMargin : IDisposable

NameDescription
System_CAPS_pubpropertyEnabled

Determines whether the margin is enabled.

System_CAPS_pubpropertyMarginSize

Gets the size of the margin.

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodGetTextViewMargin(String)

Gets the ITextViewMargin with the specified margin name.

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

Return to top
Show: