WPF竖向排列的按钮

<Button Width="100" Height="150">
    <Button.Content>
        <TextBlock Text="简图库" TextAlignment="Center">
            <TextBlock.LayoutTransform>
                <RotateTransform Angle="-90" />
            </TextBlock.LayoutTransform>
        </TextBlock>
    </Button.Content>
</Button>

效果:

posted @ 2023-12-27 15:13  JohnYang819  阅读(74)  评论(0编辑  收藏  举报