Свойство | Тип | Описание | |
---|---|---|---|
ModelProperty |
Метод | Описание | |
---|---|---|
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 |
||
OnLoaded ( object sender, |
||
OnModelPropertyChanged ( |
||
View ( UIElement content ) : System |
public static GetViewModel ( System.Windows.Controls.UserControl userControl ) : object | ||
userControl | System.Windows.Controls.UserControl | The control to lookup. |
Результат | object |
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 |