WPF 路由事件和附加事件简明教程
一、路由事件
1.1、定义
概括:可在 WPF 元素树中传递的事件,支持界面绑定处理方法。
代码:
public static readonly RoutedEvent TapEvent = EventManager.RegisterRoutedEvent("Tap", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(OwnerType));
/// <summary>
/// [路由事件]注释
/// </s[......]