我知道您可以这样做以在选项卡标题中获取垂直文本:
<窗口 x:Class="Abodemploy.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
标题="Window1" 高度="300" 宽度="300">
<网格>
<TabControl Margin="0" Name="tabControl1" FlowDirection="LeftToRight" TabStripPlacement="Left">
<选项卡项>
<TabItem.Header>
<StackPanel 方向="水平">
<TextBlock>主页</TextBlock>
</堆栈面板>
</TabItem.Header>
<TabItem.LayoutTransform>
<变换组>
<RotateTransform Angle="90" />
</TransformGroup>
</TabItem.LayoutTransform>
<网格/>
</TabItem>
</TabControl>
</网格>
</窗口>
然而,文字字母是横向的。我想要(如果可能的话)是字母方向正确(即向上),但文字向下流动,这可能吗,还是我只是在做不可能的梦?
谢谢心理学