C# Class WPFUtils.DependencyPropertyWeakEventManager

Inheritance: System.Windows.WeakEventManager
ファイルを表示 Open project: BravoAlpha/WPFUtils

Private Properties

Property Type Description
GetDependencyProperty System.Windows.DependencyProperty
SetDependencyProperty void

Public Methods

Method Description
AddListener ( DependencyObject source, IWeakEventListener listener, DependencyProperty property ) : void
RemoveListener ( DependencyObject source, IWeakEventListener listener ) : void

Protected Methods

Method Description
StartListening ( object source ) : void
StopListening ( object source ) : void

Private Methods

Method Description
GetDependencyProperty ( DependencyObject obj ) : DependencyProperty
SetDependencyProperty ( DependencyObject obj, DependencyProperty value ) : void

Method Details

AddListener() public static method

public static AddListener ( DependencyObject source, IWeakEventListener listener, DependencyProperty property ) : void
source System.Windows.DependencyObject
listener IWeakEventListener
property System.Windows.DependencyProperty
return void

RemoveListener() public static method

public static RemoveListener ( DependencyObject source, IWeakEventListener listener ) : void
source System.Windows.DependencyObject
listener IWeakEventListener
return void

StartListening() protected method

protected StartListening ( object source ) : void
source object
return void

StopListening() protected method

protected StopListening ( object source ) : void
source object
return void