IndicatorsMargin<T>
A margin 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
Type Parameters:
T
Syntax:
public class IndicatorsMargin<T> : IndicatorsMarginBase where T : FrameworkElement, new()
Inheritance: objectSyntaxEditorMarginIndicatorsMarginBaseIndicatorsMargin<T>
Inherited Members
Constructors
Initializes a new instance of the IndicatorsMargin<T> class.
public IndicatorsMargin(RadSyntaxEditor syntaxEditor)
The RadSyntaxEditor instance.
Methods
Determines whether any of the properties of the margin which require a redraw has changed.
Called when the margin is measured.
protected override Size MeasureOverride(Size constraint)
Size
Called when an indicator needs to be updated.
protected virtual void UpdateIndicator(T indicator, int lineNumber)
The indicator.
lineNumberintThe line number the indicator is placed on.
Updates the properties of the margin which need to be cached.
protected virtual void UpdateMarginPropertiesCache()
Updates the user interface of the margin.
protected override void UpdateUIOverride(UIUpdateContext updateContext)
The UIUpdateContext.
Overrides: