title: AccessText inside Label (XAML to C#)
body: <p>The following code is part of a small XAML application that displays data in a tabular form. Basically I need to translate this code into C#.</p>
  
  <pre><code>&lt;Grid Width="768" Height="1056"&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="114" /&gt;
          &lt;RowDefinition Height="906*" /&gt;
          &lt;RowDefinition Height="36" /&gt;
      &lt;/Grid.RowDefinitions&gt;
  ...
  &lt;Label Grid.Row="1" Width="40" Height="32" Margin="14,4,0,0" Padding="0" HorizontalAlignment="Left" VerticalAlignment="Top" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="Black" BorderThickness="1" Name="label16"&gt;
      &lt;AccessText Margin="0,0,0,0" TextWrapping="Wrap" TextAlignment="Center" FontWeight="Bold"&gt;
          SEQ
      &lt;/AccessText&gt;
  &lt;/Label&gt;
  ...
  &lt;/Grid&gt;
  </code></pre>
  
  <p>I've been looking for an answer for a couple of days and I can't find anything specific to this. Can someone please give me an idea of how to do it?</p>
  
  <p>Thank you</p>