Method | Description | |
---|---|---|
AttachEventHandler ( |
Attaches an event to the first Parent of obj (which must be a FrameworkElement) which declares a public method with the name "handler" and arguments of types "types". When that method is found, attacher is invoked with: - sender is "obj" - target is the Parent that declares the method - method is the method of Parent
|
public static AttachEventHandler ( |
||
obj | the object to which to attach an event | |
methodName | string | |
handlerTypes | ||
attacher | EventAttacher | indicates how to attach an event to the target |
return | void |