Element. Add Handler(RoutedEvent, Delegate) 方法
将特定的路由事件的路由事件处理程序添加到元素。Adds a routed event handler for a specific routed event to an element.
public: void AddHandler(System::Windows::RoutedEvent ^ routedEvent, Delegate ^ handler);
public void AddHandler (System.Windows.RoutedEvent routedEvent, Delegate handler);
abstract member AddHandler : System.Windows.RoutedEvent * Delegate -> unit
要处理的路由事件的标识符。The identifier for the routed event that is being handled.
对处理程序实现的引用。A reference to the handler implementation.