Behavior<T>.OnAttachedTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OnAttachedTo(T) |
Application developers override this method to implement the behaviors that will be associated with |
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.