title: Integrating Context-Sensitive help in WPF application following MVVM
body: <p>I am trying to implement Help functionality for my wpf application which is following the MVVM pattern. I have my help file present, which contains many pages according to the application. Now I need to integrate this into my application.</p>
  
  <p>Here are my requirements:</p>
  
  <ol>
  <li>Pressing F1 opens a certain page in the help file depending on the view model. For this, I guess, I need to bind the F1 command to my view model. How do we bind keys in views?</li>
  <li>Pressing F1 on a text field opens help for that text field. I think it will be the same as requirement 1. But the problem here is how will I know that a certain text field, button, or radio button is selected?</li>
  </ol>