C# Класс SilverlightFX.UserInterface.View

Represents the top-most view in an application.
Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект

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

Свойство Тип Описание
ModelProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
GetViewModel ( System.Windows.Controls.UserControl userControl ) : object

Gets the view model instance attached to the specified control.

SetViewModel ( System.Windows.Controls.UserControl userControl, object value ) : void

Sets the view model instance attached to the specified control. The view model is also used as the DataContext assigned to the control.

View ( ) : System

Initializes an instance of a View.

Защищенные методы

Метод Описание
OnLoaded ( ) : void

Performs initialization in response to the Loaded event.

Приватные методы

Метод Описание
InitializeViewData ( object>.IDictionary viewData ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnModelPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
View ( UIElement content ) : System

Описание методов

GetViewModel() публичный статический Метод

Gets the view model instance attached to the specified control.
public static GetViewModel ( System.Windows.Controls.UserControl userControl ) : object
userControl System.Windows.Controls.UserControl The control to lookup.
Результат object

OnLoaded() защищенный Метод

Performs initialization in response to the Loaded event.
protected OnLoaded ( ) : void
Результат void

SetViewModel() публичный статический Метод

Sets the view model instance attached to the specified control. The view model is also used as the DataContext assigned to the control.
public static SetViewModel ( System.Windows.Controls.UserControl userControl, object value ) : void
userControl System.Windows.Controls.UserControl The control to associated the view model with.
value object The view model instance.
Результат void

View() публичный Метод

Initializes an instance of a View.
public View ( ) : System
Результат System

Описание свойств

ModelProperty публичное статическое свойство

Represents the Model attached property.
public static DependencyProperty,System.Windows ModelProperty
Результат System.Windows.DependencyProperty