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
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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