C# 클래스 BellaCode.Mvvm.ViewModelScope

A decorator that sets that DataContext of the child to be a view model. The view model receives the previous DataContext as its model.
상속: System.Windows.Controls.Decorator
파일 보기 프로젝트 열기: BellaCode/MVVM

공개 프로퍼티들

프로퍼티 타입 설명
FactoryContextProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
AttachViewModel void
DetachViewModel void
OnChildChanged void
UpdateModel void
ViewModelScope System
ViewModelScope_DataContextChanged void
ViewModelScope_Loaded void
ViewModelScope_Unloaded void

비공개 메소드들

메소드 설명
AttachViewModel ( ) : void
DetachViewModel ( ) : void
OnChildChanged ( UIElement oldValue, UIElement newValue ) : void
UpdateModel ( ) : void
ViewModelScope ( ) : System
ViewModelScope_DataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ViewModelScope_Loaded ( object sender, RoutedEventArgs e ) : void
ViewModelScope_Unloaded ( object sender, RoutedEventArgs e ) : void

프로퍼티 상세

FactoryContextProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows FactoryContextProperty
리턴 System.Windows.DependencyProperty