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)
Syntax
'Déclaration
Public Interface ITextViewMargin _
Inherits IDisposable
public interface ITextViewMargin : IDisposable
public interface class ITextViewMargin : IDisposable
type ITextViewMargin =
interface
interface IDisposable
end
public interface ITextViewMargin extends IDisposable
The ITextViewMargin type exposes the following members.
Properties
Name | Description | |
---|---|---|
Enabled | Determines whether the margin is enabled. | |
MarginSize | Gets the size of the margin. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetTextViewMargin | Gets the ITextViewMargin with the specified margin name. |
Top
Remarks
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.