title: Set width property inside page.resource
body: <p>I'm trying to set the width of a RichTextBlock based on whether the device is a PC or phone (UWP app), but I'm having problems getting to the property...</p>
  
  <pre><code>&lt;Page.Resources&gt;
      &lt;DataTemplate x:Key="sectionTemplate"&gt;
          &lt;common:RichTextColumns&gt;
              &lt;common:RichTextColumns.ColumnTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;RichTextBlockOverflow Width="300" Margin="20,0,0,10"/&gt;
                  &lt;/DataTemplate&gt;
              &lt;/common:RichTextColumns.ColumnTemplate&gt;
              &lt;RichTextBlock Margin="10,0,10,10" TextAlignment="Justify" Width="300" TextWrapping="WrapWholeWords"&gt;
                  &lt;Paragraph&gt;
                      &lt;Run Text="{Binding}" /&gt;
                  &lt;/Paragraph&gt;
              &lt;/RichTextBlock&gt;
          &lt;/common:RichTextColumns&gt;
      &lt;/DataTemplate&gt;
  &lt;/Page.Resources&gt;
  </code></pre>
  
  <p>Any suggestions on the easiest way to do this?</p>