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 IndicatorsMarginBase class.
Declaration
protected IndicatorsMarginBase(RadSyntaxEditor syntaxEditor)
Parameters
RadSyntaxEditor
syntaxEditor
The RadSyntaxEditor instance. |
Fields
IndicatorBrushProperty
Registers the IndicatorBrush property.
Declaration
public static readonly DependencyProperty IndicatorBrushProperty
Field Value
System.Windows.DependencyProperty
|
IndicatorsProperty
Registers the Indicators property.
Declaration
public static readonly DependencyProperty IndicatorsProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Canvas
The canvas on which the indicators are drawn.
Declaration
protected Canvas Canvas { get; }
Property Value
System.Windows.Controls.Canvas
|
IndicatorBrush
The brush used to color the indicators.
Declaration
public Brush IndicatorBrush { get; set; }
Property Value
System.Windows.Media.Brush
|
Indicators
A collection of indicators currently added to the margin.
Declaration
public ObservableCollection<int> Indicators { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.Int32>
|
Methods
HandleMouseLeftButtonDown(Point)
Handles mouse left button.
Declaration
protected virtual bool HandleMouseLeftButtonDown(Point mousePosition)
Parameters
System.Windows.Point
mousePosition
|
Returns
System.Boolean
|