'Declaration Public MustInherit Class MarginBase Implements Infragistics.ISupportPositioning
public abstract class MarginBase : Infragistics.ISupportPositioning
This is the base class for all Margins - built-in and custom. To create a custom Margin, derive a class from this class and override the EditorDocumentViewMarginLocation property and implement the Infragistics.ISupportPositioning interface members to control your margin's position within that location. In addition you should override the CreatePresenter method and return a FrameworkElement derived element that will serve as the Margin's representation in the UI. To let the XamSyntaxEditor know about your custom Margin, simply add an instance of your MarginBase derived class to the XamSyntaxEditor.CustomMargins collection.
The built-in Margins are automatically created by the EditorDocumentView and together with any XamSyntaxEditor.CustomMargins you have specified are arranged and displayed in one of the four Margin areas based on their Location property.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
MarginBase Members
Infragistics.Controls.Editors Namespace
LineNumberMargin Class
LineNumberMarginPresenter Class
CustomMargins Property
Infragistics.ISupportPositioning
MarginKeys Class