次の方法で共有


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

'宣言
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
Public property Enabled Determines whether the margin is enabled.
Public property MarginSize Gets the size of the margin.

Top

Methods

  Name Description
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace