Property | Type | Description | |
---|---|---|---|
ModelProperty |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
OnLoaded ( ) : void |
Performs initialization in response to the Loaded event.
|
Method | Description | |
---|---|---|
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. |
return | 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. |
return | void |