更新时间:2023-10-11 10:56:22
你需要一个 RoutedEvent link一个>
You need a RoutedEvent link
路由事件是在可视化树中向上或向下导航的事件根据他们的路由策略.路由策略可以是冒泡的,隧道或直接.您可以在元素上连接事件处理程序通过使用引发事件或在其上方或下方的其他元素上附加的事件语法:Button.Click="Button_Click"."
"Routed events are events which navigate up or down the visual tree acording to their RoutingStrategy. The routing strategy can be bubble, tunnel or direct. You can hook up event handlers on the element that raises the event or also on other elements above or below it by using the attached event syntax: Button.Click="Button_Click"."