0
我知道你可以做到这一点得到一个标签头垂直文本:文本方向
<Window x:Class="Abodemploy.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300"> <Grid> <TabControl Margin="0" Name="tabControl1" FlowDirection="LeftToRight" TabStripPlacement="Left"> <TabItem> <TabItem.Header> <StackPanel Orientation="Horizontal"> <TextBlock>Homes</TextBlock> </StackPanel> </TabItem.Header> <TabItem.LayoutTransform> <TransformGroup> <RotateTransform Angle="90" /> </TransformGroup> </TabItem.LayoutTransform> <Grid /> </TabItem> </TabControl> </Grid> </Window>
但是文字字母是横盘整理。我想(如果可能的话)是为了使字母方向正确(即向上),但文字向下流动,这是可能的,还是我只是梦想着不可能实现的梦想?
谢谢Psy
是的,我正在寻找一个类似的问题,找不到它,然后当我正在寻找一个不同的问题时,我遇到了这个答案,而且,它的工作原理 – Psytronic 2010-03-18 12:02:41
不错,这工作得很好。 – 2010-03-18 12:05:24
不得不做一些改变,现在选项卡标题是愚蠢的宽,但它的东西我需要 – Psytronic 2010-03-18 12:10:25