IWpfTextViewMargin Interface
Represents WPF text view margins.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Public Interface IWpfTextViewMargin _
Inherits ITextViewMargin, IDisposable
public interface IWpfTextViewMargin : ITextViewMargin,
IDisposable
public interface class IWpfTextViewMargin : ITextViewMargin,
IDisposable
type IWpfTextViewMargin =
interface
interface ITextViewMargin
interface IDisposable
end
public interface IWpfTextViewMargin extends ITextViewMargin, IDisposable
The IWpfTextViewMargin type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
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. (Inherited from ITextViewMargin.) |
Top
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 Editor Extension Points.