Class
SyntaxEditorMargin

A margin which can be added to the RadSyntaxEditor control.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI.Margins

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public abstract class SyntaxEditorMargin : ContentControl

Inheritance: objectSyntaxEditorMargin

Derived Classes: IndicatorsMarginBase

Constructors

SyntaxEditorMargin(RadSyntaxEditor)

Initializes a new instance of the SyntaxEditorMargin class.

Declaration

cs-api-definition
protected SyntaxEditorMargin(RadSyntaxEditor editor)

Parameters

editor

RadSyntaxEditor

The RadSyntaxEditor instance.

Properties

Editor

The RadSyntaxEditor instance.

Declaration

cs-api-definition
public RadSyntaxEditor Editor { get; }

Property Value

RadSyntaxEditor

Methods

UpdateUI()

Called when the UI of the margin needs to be updated.

Declaration

cs-api-definition
public void UpdateUI()

UpdateUI(UIUpdateContext)

Called when the UI of the margin needs to be updated.

Declaration

cs-api-definition
public void UpdateUI(UIUpdateContext updateContext)

Parameters

updateContext

UIUpdateContext

The UIUpdateContext.

UpdateUIOverride(UIUpdateContext)

Updates the user interface of the margin.

Declaration

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

Parameters

updateContext

UIUpdateContext