title: How can I create a command by using Grid.RowDefinitions and Grid.ColumnDefinitions
body: <p>I'm currrently learning on how to use WPF. And my objective was to create a command that will create grid layout. for example if I click the button1, it will create a <code>Grid</code> layout like this.</p>
  
  <pre><code>&lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="Auto" /&gt;
          &lt;RowDefinition Height="50" /&gt;
          &lt;RowDefinition Height="235*" /&gt;
      &lt;/Grid.RowDefinitions&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="100" /&gt;
          &lt;ColumnDefinition Width="Auto" /&gt;
          &lt;ColumnDefinition Width="113*" /&gt;
      &lt;/Grid.ColumnDefinitions&gt;
  
      &lt;Label Content="Author" Grid.Row="0" Grid.Column="0" /&gt;
  </code></pre>
  
  <p>I'm using WPF and c#.</p>