title: How do I pass the information from View to ViewModel with DelegateCommand?
body: <p>In my View, I have a button.</p>
  
  <p>When the user clicks this button, I want to have the ViewModel save the context of the TextBlock in the database.</p>
  
  <pre><code>&lt;StackPanel HorizontalAlignment="Left" VerticalAlignment="Top"&gt;
      &lt;TextBlock Text="{Binding FirstName}"/&gt;
      &lt;TextBox Text="Save this text to the database."/&gt;
      &lt;Button Content="Save" Command="{Binding SaveCommand}"/&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>However, in my DelegateCommand in my ViewModel, the "Save()" method doesn't pass any arguments, so how do I get data from the view at that point?</p>
  
  <pre><code>#region DelegateCommand: Save
  private DelegateCommand saveCommand;
  
  public ICommand SaveCommand
  {
      get
      {
          if (saveCommand == null)
          {
              saveCommand = new DelegateCommand(Save, CanSave);
          }
          return saveCommand;
      }
  }
  
  private void Save()
  {
      TextBox textBox = ......how do I get the value of the view's textbox from here?....
  }
  
  private bool CanSave()
  {
      return true;
  }
  #endregion
  </code></pre>