title: How to get correct width and height after rotation of Textblock in UWP
body: <p>I need to get auto size of TextBlock after rotation. Below is the code I am using to rotate the TextBlock by 90 degree with the help of RenderTransform, But It takes up more space than it needed after rotating.</p>
  
  <pre><code>&lt;Border BorderBrush="Red" BorderThickness="3"&gt;
       &lt;TextBlock Text="Testing" RenderTransformOrigin="0.5,0.5"&gt;
           &lt;TextBlock.RenderTransform&gt;
                &lt;RotateTransform Angle="90"/&gt;
           &lt;/TextBlock.RenderTransform&gt;
       &lt;/TextBlock&gt;
  &lt;/Border&gt;
  </code></pre>
  
  <p>In WPF, with the help of LayoutTransform, I can able to get the auto size (height and width) of the textblock properly. But in UWP, LayoutTranform is not available.</p>
  
  <p>How can I get correct height and width of Textblock after rotation in UWP?</p>
  
  <p>Regards,
  Shobika.</p>