what is event inheritance and event delegation?

Answer Posted / rathi

The event-delegation model has two advantages over the
event-inheritance model. First, it enables event handling
to be handled by objects other than the ones that generate
the events (or their containers). This allows a clean
separation between a component's design and its use. The
other advantage of the event-delegation model is that it
performs much better in applications where many events are
generated. This performance improvement is due to the fact
that the event-delegation model does not have to repeatedly
process unhandled events, as is the case of the event-
inheritance
model.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pdbs?

590


Explain attributes in dot net?

575


Describe the Managed Execution Process

1656


How to implement getcommon method in class a? Are you seeing any problem in the implementation?

630


How many types of design patterns available in .NET?

611






Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?

611


What is delegation in .net?

615


What is "microsoft intermediate language" (msil)?

529


What is the difference between a namespace and assembly name in .net?

528


Can "this" be used within a static method?

576


What is the advantage of .net core?

556


What does stateless mean?

641


What are the core differences between .NET Languages ?

1796


which methos do you invoke on the dataadapter control to load your generated dataset with data?

559


What is .net latest version?

554