다음을 통해 공유


Behavior.OnAttachedTo(BindableObject) Method

Definition

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

protected:
 virtual void OnAttachedTo(Microsoft::Maui::Controls::BindableObject ^ bindable);
protected virtual void OnAttachedTo (Microsoft.Maui.Controls.BindableObject bindable);
abstract member OnAttachedTo : Microsoft.Maui.Controls.BindableObject -> unit
override this.OnAttachedTo : Microsoft.Maui.Controls.BindableObject -> unit
Protected Overridable Sub OnAttachedTo (bindable As BindableObject)

Parameters

bindable
BindableObject

The bindable object to which the behavior was attached.

Applies to