Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

The ITextViewMargin type exposes the following members.

Public propertyEnabledDetermines whether the margin is enabled.
Public propertyMarginSizeGets the size of the margin.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodGetTextViewMarginGets 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.