C# 클래스 Open.Core.Common.DataContextObserver

Monitors changes to an element DataContext property.
상속: System.Windows.DependencyObject, INotifyDisposed
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
DataContextObserver ( FrameworkElement source, System.Action onDataContextChanged ) : System
Dispose ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool isDisposing ) : void
DisposeOfManagedResources ( ) : void

Invoked when the Dispose method is called. Use this to dispose of any managed resources or unwire from events etc.

It is not necessary to call base in the overridden method. This is a convenience method that is called from the main 'Dispose' virtual method.

비공개 메소드들

메소드 설명
GetInstance ( FrameworkElement sender ) : DataContextObserver
InvokeAction ( ) : void
OnDataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnDisposed ( ) : void
RegisterProperty ( ) : void
RemoveInstances ( IEnumerable items ) : void

메소드 상세

DataContextObserver() 공개 메소드

public DataContextObserver ( FrameworkElement source, System.Action onDataContextChanged ) : System
source System.Windows.FrameworkElement
onDataContextChanged System.Action
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool isDisposing ) : void
isDisposing bool
리턴 void

DisposeOfManagedResources() 보호된 메소드

Invoked when the Dispose method is called. Use this to dispose of any managed resources or unwire from events etc.
It is not necessary to call base in the overridden method. This is a convenience method that is called from the main 'Dispose' virtual method.
protected DisposeOfManagedResources ( ) : void
리턴 void