Events
Swipe to show menu
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);;
Everything was clear?
Thanks for your feedback!
Sectionย 2. Chapterย 3
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Sectionย 2. Chapterย 3