ClassIndicatorsMarginBase
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:
public abstract class IndicatorsMarginBase : SyntaxEditorMargin
Inheritance: objectSyntaxEditorMarginIndicatorsMarginBase
Derived Classes:
Inherited Members
Constructors
IndicatorsMarginBase(RadSyntaxEditor)
Initializes a new instance of the IndicatorsMarginBase class.
Declaration
protected IndicatorsMarginBase(RadSyntaxEditor syntaxEditor)
Parameters
syntaxEditor
The RadSyntaxEditor instance.
Fields
IndicatorBrushProperty
Registers the IndicatorBrush property.
Declaration
public static readonly DependencyProperty IndicatorBrushProperty
Field Value
DependencyProperty
IndicatorsProperty
Registers the Indicators property.
Declaration
public static readonly DependencyProperty IndicatorsProperty
Field Value
DependencyProperty
Properties
Canvas
The canvas on which the indicators are drawn.
Declaration
protected Canvas Canvas { get; }
Property Value
Canvas
IndicatorBrush
The brush used to color the indicators.
Declaration
public Brush IndicatorBrush { get; set; }
Property Value
Brush
Indicators
A collection of indicators currently added to the margin.
Declaration
public ObservableCollection<int> Indicators { get; }
Property Value
Methods
HandleMouseLeftButtonDown(Point)
Handles mouse left button.
Declaration
protected virtual bool HandleMouseLeftButtonDown(Point mousePosition)
Parameters
mousePosition
Point
Returns