Class
IndicatorsMargin<T>

A margin which can be added to the RadSyntaxEditor and holds indicators for each line.

Definition

Constructors

IndicatorsMargin(RadSyntaxEditor)

Initializes a new instance of the IndicatorsMargin<T> class.

Declaration

cs-api-definition
public IndicatorsMargin(RadSyntaxEditor syntaxEditor)

Parameters

syntaxEditor

RadSyntaxEditor

The RadSyntaxEditor instance.

Methods

MarginPropertiesChanged()

Determines whether any of the properties of the margin which require a redraw has changed.

Declaration

cs-api-definition
protected virtual bool MarginPropertiesChanged()

Returns

bool

MeasureOverride(Size)

Called when the margin is measured.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size constraint)

Parameters

constraint

Size

Returns

Size

UpdateIndicator(T, int)

Called when an indicator needs to be updated.

Declaration

cs-api-definition
protected virtual void UpdateIndicator(T indicator, int lineNumber)

Parameters

indicator

T

The indicator.

lineNumber

int

The line number the indicator is placed on.

UpdateMarginPropertiesCache()

Updates the properties of the margin which need to be cached.

Declaration

cs-api-definition
protected virtual void UpdateMarginPropertiesCache()

UpdateUIOverride(UIUpdateContext)

Updates the user interface of the margin.

Declaration

cs-api-definition
protected override void UpdateUIOverride(UIUpdateContext updateContext)

Parameters

updateContext

UIUpdateContext

The UIUpdateContext.

Overrides SyntaxEditorMargin.UpdateUIOverride(UIUpdateContext)