c# - event handlers in WPF mvvm pattern -


i new wpf mvvm. came across document button click event has following cs code , xaml code. lets want keyup event button how handle it.

<button content="update" grid.row="1" height="23" horizontalalignment="left" margin="310,40,0,0" name="btnupdate"                  verticalalignment="top" width="141"                  command="{binding path=updatecommad}"  />   private icommand mupdater;          public icommand updatecommand          {                           {                  if (mupdater == null)                      mupdater = new updater();                  return mupdater;              }              set              {                  mupdater = value;              }          }          private class updater : icommand          {              #region icommand members              public bool canexecute(object parameter)              {                  return true;              }              public event eventhandler canexecutechanged;              public void execute(object parameter)              {              }              #endregion          } 


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -