Events
Important Points:
- The list of available classes in MAUI can be seen here;
- The
EventHandler
type is basically a delegate that executes the attached methods whenever relevant; - We cannot use the assignment operator (
=
) to add a method to anEventHandler
.EventHandler
supports+=
and-=
operators; - A method which is binded to an EventHandler needs to have the following signature:
void methodName(object sender, EventArgs e);
;
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 3.7
Events
Scorri per mostrare il menu
Important Points:
- The list of available classes in MAUI can be seen here;
- The
EventHandler
type is basically a delegate that executes the attached methods whenever relevant; - We cannot use the assignment operator (
=
) to add a method to anEventHandler
.EventHandler
supports+=
and-=
operators; - A method which is binded to an EventHandler needs to have the following signature:
void methodName(object sender, EventArgs e);
;
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3