New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class SyntaxEditorMargin : ContentControl

Inheritance: objectSyntaxEditorMargin

Derived Classes: IndicatorsMarginBase

Constructors

Initializes a new instance of the SyntaxEditorMargin class.

C#
protected SyntaxEditorMargin(RadSyntaxEditor editor)
Parameters:editorRadSyntaxEditor

The RadSyntaxEditor instance.

Properties

The RadSyntaxEditor instance.

C#
public RadSyntaxEditor Editor { get; }

Methods

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

C#
public void UpdateUI()

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

C#
public void UpdateUI(UIUpdateContext updateContext)
Parameters:updateContextUIUpdateContext

The UIUpdateContext.

Updates the user interface of the margin.

C#
protected abstract void UpdateUIOverride(UIUpdateContext updateContext)
Parameters:updateContextUIUpdateContext