Class
RadSyntaxEditorBehavior

Class RadSyntaxEditorBehavior. Implements the DependencyObject

Definition

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

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public abstract class RadSyntaxEditorBehavior : DependencyObject

Inheritance: objectRadSyntaxEditorBehavior

Constructors

RadSyntaxEditorBehavior()

Declaration

cs-api-definition
protected RadSyntaxEditorBehavior()

Fields

AssociatedEditorChanged

The associated editor changed.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Reviewed.")]
public EventHandler AssociatedEditorChanged

Field Value

EventHandler

Properties

AssociatedEditor

Gets the associated editor.

Declaration

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

Property Value

RadSyntaxEditor

The associated editor.

Methods

Attach(RadSyntaxEditor)

Attaches the specified editor.

Declaration

cs-api-definition
public void Attach(RadSyntaxEditor editor)

Parameters

editor

RadSyntaxEditor

The editor.

Exceptions

InvalidOperationException

Cannot host behavior multiple times.

Detach()

Detaches this instance.

Declaration

cs-api-definition
public void Detach()

OnAttached()

Called when [attached].

Declaration

cs-api-definition
protected virtual void OnAttached()

OnDetaching()

Called when [detaching].

Declaration

cs-api-definition
protected virtual void OnDetaching()