title: Control taking into account bounding box of child based on transformation (rotation, etc.)
body: <p>I can't remember if WPF or Silverlight had a control or feature which allowed the control to take into account transformations.</p>
  
  <p>For example, I imagine a control which gets the dimensions based on the single child view bounding box. If the child is a rectangle, the control will have the bounding box of the rotated child:</p>
  
  <p><a href="https://i.stack.imgur.com/LhyTv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LhyTv.jpg" alt="enter image description here"></a></p>