TextBlock with vertical text

Published 10/31/2014 by Christian
Tags: ,

This will make the text in the TextBlock vertical

<TextBlock Text="Some Text">
	<TextBlock.LayoutTransform>
		<TransformGroup>
			<RotateTransform Angle="90" />
			<ScaleTransform ScaleX="-1" ScaleY="-1"/>
		</TransformGroup>
	</TextBlock.LayoutTransform>
</TextBlock>

As always, feel free to comment, or ask.


Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading