C# Класс Quasar.AttachedEventHandlerManager

Support for attaching to an event based on the name of a method.
Показать файл Открыть проект

Открытые методы

Метод Описание
AttachEventHandler ( DependencyObject obj, string methodName, Type handlerTypes, EventAttacher attacher ) : void

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

Описание методов

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 ( DependencyObject obj, string methodName, Type handlerTypes, EventAttacher attacher ) : void
obj System.Windows.DependencyObject the object to which to attach an event
methodName string
handlerTypes System.Type
attacher EventAttacher indicates how to attach an event to the target
Результат void