Understanding WPF Events
HTML-код
- Опубликовано: 7 фев 2025
- Back in 2010, I was auditioning to become a Pluralsight author. I was required to record a 10 minute demo, that covered a short but simple topic. This is what I submitted all those years ago. You can tell this was my very first video :0)
how would I know when to use tunnel, bubbling events?
By the way, excellent explanation. Loved it.
I've a question, in order to know if the event is a Tunnel event, you can know it by te "preview" name, but, how can I know what event is a bubble event or a direct event?
A bubbling event usually has a corresponding tunneling event. If it doesn't have a tunneling counterpart, chances are it is a direct event.
@@BrianLagunas that makes sense, thank you!, and I don't know if you can help me with this question too.
How is the bubble and Tunnel events handled by the next container. For example, If I can do that in Windows Forms or Console application, How can you Trigger container's event???, because if you exposse a public member, could be bad, because any other object could trigger the event in any moment.
@@juanclopgar97 routed events are a WPF concept only