IndicatorsMarginBase
Class
A base class for margins which can be added to the RadSyntaxEditor and holds indicators for each line.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.UI.Margins
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
C#
public abstract class IndicatorsMarginBase : SyntaxEditorMargin
Inheritance: objectSyntaxEditorMarginIndicatorsMarginBase
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the IndicatorsMarginBase class.
C#
protected IndicatorsMarginBase(RadSyntaxEditor syntaxEditor)
The RadSyntaxEditor instance.
Fields
IndicatorBrushProperty
DependencyProperty
Registers the IndicatorBrush property.
C#
public static readonly DependencyProperty IndicatorBrushProperty
IndicatorsProperty
DependencyProperty
Registers the Indicators property.
C#
public static readonly DependencyProperty IndicatorsProperty
Properties
Canvas
Canvas
The canvas on which the indicators are drawn.
C#
protected Canvas Canvas { get; }
IndicatorBrush
Brush
The brush used to color the indicators.
C#
public Brush IndicatorBrush { get; set; }
A collection of indicators currently added to the margin.
C#
public ObservableCollection<int> Indicators { get; }
Methods
Handles mouse left button.
C#
protected virtual bool HandleMouseLeftButtonDown(Point mousePosition)