Events
Important Points:
- The list of available classes in MAUI can be seen here;
- The
EventHandlertype is basically a delegate that executes the attached methods whenever relevant; - We cannot use the assignment operator (
=) to add a method to anEventHandler.EventHandlersupports+=and-=operators; - A method which is binded to an EventHandler needs to have the following signature:
void methodName(object sender, EventArgs e);;
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 3
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Ställ mig frågor om detta ämne
Sammanfatta detta kapitel
Visa verkliga exempel
Awesome!
Completion rate improved to 3.7
Events
Svep för att visa menyn
Important Points:
- The list of available classes in MAUI can be seen here;
- The
EventHandlertype is basically a delegate that executes the attached methods whenever relevant; - We cannot use the assignment operator (
=) to add a method to anEventHandler.EventHandlersupports+=and-=operators; - A method which is binded to an EventHandler needs to have the following signature:
void methodName(object sender, EventArgs e);;
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 3