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);
;
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 3
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 3.7
Events
Stryg for at vise menuen
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);
;
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 3