what is event inheritance and event delegation?



what is event inheritance and event delegation?..

Answer / 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

More Dot Net General Interview Questions

What is implement a generic action in webapi?

0 Answers  


what is the difference between class and structures?

2 Answers  


Do you know the difference between the stack and the heap?

0 Answers  


What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

0 Answers  


Explain something about WebService?

0 Answers   BirlaSoft,






Explain how to redirect tracing to a file?

0 Answers  


why you wouldn't want to write into it even if you could

0 Answers  


Explain About GDI object ?

0 Answers   TISL,


Explain what is the difference between odbc and ado?

0 Answers  


How to write an MMC snap-in for my Windows service?

1 Answers  


What is msil, il?

0 Answers  


Explain what are an object and a class?

0 Answers  


Categories