C# Class ModernWPF.Internal.EventUtil

显示文件 Open project: soukoku/ModernWPF

Public Methods

Method Description
AddHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void
RemoveHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void

Method Details

AddHandler() public static method

public static AddHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void
element System.Windows.DependencyObject
routedEvent System.Windows.RoutedEvent
handler System.Delegate
return void

RemoveHandler() public static method

public static RemoveHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void
element System.Windows.DependencyObject
routedEvent System.Windows.RoutedEvent
handler System.Delegate
return void