Class
BehaviorBase

Provides a base class for behaviors with enhanced bindable object management.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class BehaviorBase : Behavior

Inheritance: objectBehaviorBase

Derived Classes: RadEventToCommandBehavior

Constructors

BehaviorBase()

Declaration

cs-api-definition
public BehaviorBase()

Properties

AttachedBindable

Gets or sets the bindable object that this behavior is attached to.

Declaration

cs-api-definition
public BindableObject AttachedBindable { get; set; }

Property Value

BindableObject

The attached bindable object.

Methods

OnAttachedTo(BindableObject)

Called when the behavior is attached to a bindable object.

Declaration

cs-api-definition
protected override void OnAttachedTo(BindableObject bindable)

Parameters

bindable

BindableObject

The bindable object to attach to.

OnDetachingFrom(BindableObject)

Called when the behavior is being detached from a bindable object.

Declaration

cs-api-definition
protected override void OnDetachingFrom(BindableObject bindable)

Parameters

bindable

BindableObject

The bindable object to detach from.