where store event handler method in WPF - MVVM
        Posted  
        
            by netmajor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by netmajor
        
        
        
        Published on 2010-05-01T18:04:08Z
        Indexed on 
            2010/05/01
            18:07 UTC
        
        
        Read the original article
        Hit count: 240
        
Hey,
Where should I store event methods for button Click event ?Normally it's store in code behind of wpf page,
<Button Name="myButton" Click="myButton_Click">Click Me</Button>
but in MVVM it should be store in other view-model class and bind to click property of button like that??
<Button Name="myButton" Click="{Binding StaticResouces myButton_Click}">Click Me</Button>
© Stack Overflow or respective owner