MVVMbasics Logo

mobilemotion.eu Logo


Back to Class Reference home page


MVVMbasics.Views
Interface IBindableView

MVVMbasics.Views.IBindableView

(only available in MVVMbasics for Windows 10 UWP)


 
public interface IBindableView<T> where T : BaseViewmodel

Contract that forces a View to include a public Vm property representing the Viewmodel, and that is used by NavigatorService to identify matching pairs of Views and Viewmodels.

Type Parameters:

T - Type of Viewmodel that shall be used as this View's DataContext.


Property Summary
public T Vm
Represents this View's Viewmodel (will automatically be synchronised to always point to the current DataContext instance), to be used by x:Bind markup extension.