Behavior<T>.OnAttachedTo Method

Definition

Overloads

OnAttachedTo(T)

Application developers override this method to implement the behaviors that will be associated with bindable.

OnAttachedTo(BindableObject)

Attaches to the superclass and then calls the OnAttachedTo(T) method on this object.

OnAttachedTo(T)

Application developers override this method to implement the behaviors that will be associated with bindable.

protected virtual void OnAttachedTo (T bindable);
override this.OnAttachedTo : 'T -> unit

Parameters

bindable
T

The bindable object to which the behavior was attached.

Applies to

OnAttachedTo(BindableObject)

Attaches to the superclass and then calls the OnAttachedTo(T) method on this object.

protected override void OnAttachedTo (Xamarin.Forms.BindableObject bindable);
override this.OnAttachedTo : Xamarin.Forms.BindableObject -> unit

Parameters

bindable
BindableObject

The bindable object to which the behavior was attached.

Applies to