简体   繁体   中英

Raising event in WPF

I'd like to raise a routed event in WPF manually. So I called my control's RaiseEvent method.

My question is:
In this case, do I need to tunnel/bubble this event myself or WPF does it for me?

它会自动执行,因此您不必担心会在树中传播。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM