Compartir a través de


Behavior.OnAttachedTo(BindableObject) Método

Definición

Los desarrolladores de aplicaciones reemplazan este método para implementar los comportamientos que se asociarán con 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)

Parámetros

bindable
BindableObject

Objeto enlazable al que se ha adjuntado el comportamiento.

Se aplica a