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