Class IndicatorsMarginBase
A base class for margins which can be added to the RadSyntaxEditor and holds indicators for each line.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.UI.Margins
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public abstract class IndicatorsMarginBase : SyntaxEditorMargin, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Constructors
IndicatorsMarginBase(RadSyntaxEditorElement)
Initializes a new instance of the IndicatorsMarginBase class.
Declaration
protected IndicatorsMarginBase(RadSyntaxEditorElement syntaxEditor)
Parameters
RadSyntaxEditorElement
syntaxEditor
The RadSyntaxEditor instance. |
Fields
IndicatorBrushProperty
Registers the IndicatorBrush property.
Declaration
public static readonly RadProperty IndicatorBrushProperty
Field Value
RadProperty
|
IndicatorsProperty
Registers the Indicators property.
Declaration
public static readonly RadProperty IndicatorsProperty
Field Value
RadProperty
|
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
System.Drawing.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.Drawing.Point
mousePosition
|
Returns
System.Boolean
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnMouseMove(Object, MouseEventArgs)
Declaration
protected void OnMouseMove(object sender, MouseEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.MouseEventArgs
e
|