Dynamic MVVM
mvvm pattern using dynamic features

This project (right now) is only the initial idea about how we can use the advantages of Microsoft.Net Framework for upgrade the speed of development and reduce the effort to write MVVM classic

Sample view model:
class MainViewModel : WpfViewModel
    public MainViewModel()
        Self.Name = "Name..";
        Self.ShowName = Command(ShowNameAction);

    public void ShowNameAction()
        //do something here...    

And view:
<TextBox Text="{Binding Name, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></TextBox>
<TextBlock Text="{Binding Name}"></TextBlock>
<Button  Command="{Binding ShowName}">Show Name</Button>

Last edited Jul 8, 2013 at 8:19 PM by jcyamacho, version 4