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)

'Declaration
Public Interface IWpfTextViewMargin _
	Inherits ITextViewMargin, IDisposable

The IWpfTextViewMargin type exposes the following members.

  NameDescription
Public propertyEnabledDetermines whether the margin is enabled. (Inherited from ITextViewMargin.)
Public propertyMarginSizeGets the size of the margin. (Inherited from ITextViewMargin.)
Public propertyVisualElementGets the FrameworkElement that renders the margin.
Top

  NameDescription
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. (Inherited from ITextViewMargin.)
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft