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);
;
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 3
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 3.7
Events
Sveip for å vise menyen
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);
;
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 3