文字旋转90度,纵向排列。
效果:
代码
<TextBlock Text="压 降 (mV)"
VerticalAlignment="Center"
TextWrapping="Wrap"
FontSize="8">
<TextBlock.LayoutTransform>
<!--文字同样旋转90度-->
<RotateTransform Angle="90"/>
</TextBlock.LayoutTransform>
</TextBlock>