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

Class RadSyntaxEditorBehavior. Implements the DependencyObject

Definition

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

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

C#
public abstract class RadSyntaxEditorBehavior : DependencyObject

Inheritance: objectRadSyntaxEditorBehavior

Constructors

C#
protected RadSyntaxEditorBehavior()

Fields

The associated editor changed.

C#
public EventHandler AssociatedEditorChanged

Properties

Gets the associated editor.

C#
public RadSyntaxEditor AssociatedEditor { get; }
Property Value:

The associated editor.

Methods

Attaches the specified editor.

C#
public void Attach(RadSyntaxEditor editor)
Parameters:editorRadSyntaxEditor

The editor.

Exceptions:

InvalidOperationException

Cannot host behavior multiple times.

Detaches this instance.

C#
public void Detach()

Called when [attached].

C#
protected virtual void OnAttached()

Called when [detaching].

C#
protected virtual void OnDetaching()