BehaviorBase
Class
Provides a base class for behaviors with enhanced bindable object management.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class BehaviorBase : Behavior
Inheritance: objectBehaviorBase
Derived Classes:
Constructors
C#
public BehaviorBase()
Properties
AttachedBindable
BindableObject
Gets or sets the bindable object that this behavior is attached to.
C#
public BindableObject AttachedBindable { get; set; }
The attached bindable object.
Methods
Called when the behavior is attached to a bindable object.
C#
protected override void OnAttachedTo(BindableObject bindable)
The bindable object to attach to.
Called when the behavior is being detached from a bindable object.
C#
protected override void OnDetachingFrom(BindableObject bindable)
The bindable object to detach from.