|
SimpleWindow
|
路由事件处理函数包装类,用于需要转换RoutedEventArgs为特定事件参数类型的情况 更多...
#include <EventHandlerWrapper.h>
Public 成员函数 | |
| RoutedEventHandlerWrapper (const Action< UIElement &, TEventArgs & > &handler) | |
| 构造函数 | |
| virtual void | Invoke (UIElement &sender, RoutedEventArgs &args) const override |
| 调用事件处理函数 | |
| virtual ICallable< void(UIElement &, RoutedEventArgs &)> * | Clone () const override |
| 克隆当前可调用对象 | |
| virtual std::type_index | GetType () const override |
| 获取当前可调用对象的类型信息 | |
| virtual bool | Equals (const ICallable< void(UIElement &, RoutedEventArgs &)> &other) const override |
| 判断当前可调用对象是否与另一个可调用对象相等 | |
路由事件处理函数包装类,用于需要转换RoutedEventArgs为特定事件参数类型的情况
|
inline |
构造函数
| handler | 事件处理函数 |
|
inlineoverridevirtual |
判断当前可调用对象是否与另一个可调用对象相等
| other | 另一个可调用对象 |