It looks like the width of a child silverlight control is always clipped by the width of the container. Even if the child control is rotated.
This first "chunk" of XAML will render a Button that is too large for a stack panel and is clipped, this makes sense.
<StackPanel Width="20">
<Button Width="100" Content="Foo" />
</StackPanel>
This second chunk of XAML rotates the button 90 degrees. I would expect to see the complete button since it is now vertical.
<StackPanel Width="20">
<Button Width="100" Content="Foo" >
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="90"/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
</Button>
</StackPanel>
In the second chunk of XAML, It seems like the button is clipped at the same point it would be if it was horizontal, I would expect to see the complete button.
This is obviously standard behavior, but is there anyway to get around this?