title: Button not Clickable in XAML
body: <p>I have a program which I am adding a button to it, I added it by saying <strong>Content_Grid.Children.Add(grid_Main)</strong> but when I try to click it, it is not click able.</p>
  
  <p>Code Behind:</p>
  
  <pre><code> // Create Grid \\
              Content_Grid.Children.Add(grid_Main);
              grid_Main.Height = MainWindowHeight;
              grid_Main.Width = MainWindowWidth;
              grid_Main.Background = Brushes.Transparent;
  </code></pre>
  
  <p>XAML:</p>
  
  <pre><code>&lt;Window x:Name="MainWin" x:Class="WhackaMoleReal.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          Title="MainWindow" Height="421.378" Width="624.929"&gt;
      &lt;Grid x:Name="Content_Grid"&gt;
          &lt;TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Can You Catch the Mole?" VerticalAlignment="Bottom" Height="85" Width="460" FontFamily="SimHei" FontSize="36" Margin="10,0,0,-27"/&gt;
          &lt;Button Content="Button" HorizontalAlignment="Left" Margin="475,0,0,16" VerticalAlignment="Bottom" Width="90" Height="42"/&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>