I am trying to have a panel with an rotated image inside. Is it a way to have the panel to resize automatically.
I try to rotate a landscape image to portrait. But the panel keep the lanscape size. I could do a script to resize the panel but would know if there is another option.
<Panel Background="#333" Margin="3"> <Image File="..."> <Rotation Degrees="90" /> </Image> </Panel>