Behavior<T>.OnAttachedTo Behavior<T>.OnAttachedTo Method

Definition

Overloads

OnAttachedTo(T) OnAttachedTo(T)

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

OnAttachedTo(BindableObject) OnAttachedTo(BindableObject)

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

OnAttachedTo(T) 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

The bindable object to which the behavior was attached.

OnAttachedTo(BindableObject) 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 BindableObject

The bindable object to which the behavior was attached.

Applies to