MouseEnter and MouseLeave events from a Panel and it's child controls
Posted
by DxCK
on Stack Overflow
See other posts from Stack Overflow
or by DxCK
Published on 2010-04-04T21:53:31Z
Indexed on
2010/04/04
22:03 UTC
Read the original article
Hit count: 381
I have a Panel that contains child controls.
If i handling the Panel's MouseEnter and MouseLeave events, and his child's MouseEnter and MouseLeave events, here is the order or raising:
Panel.MouseEnter
Panel.MouseLeave
Child1.MouseEnter
Child1.MouseLeave
Panel.MouseEnter
Panel.MouseLeave
but i need the following order of raising:
Panel.MouseEnter
Child1.MouseEnter
Child1.MouseLeave
Panel.MouseLeave
Is that possible?
© Stack Overflow or respective owner