title: Changing the content of a button when clicked?
body: <p>I'm trying to change the text in a button when said button is clicked. how would I go about doing that (I've been seeing many varying answers)?</p>
  
  <p>the Error is: <strong>Error   16  'System.Windows.Controls.Button' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'System.Windows.Controls.Button' could be found (are you missing a using directive or an assembly reference?)</strong></p>
  
  <pre><code>if (Result == MessageBoxResult.Yes)
  {
      MessageBox.Show("You Reserved this seat");
      btnSeat1.Text = "Reserved";
  }
  </code></pre>