我如何在WPF中的堆栈面板中排列选项卡 [英] how can i arrange tab in stack panel in wpf

查看:105
本文介绍了我如何在WPF中的堆栈面板中排列选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI
我想在堆栈面板中排列选项卡,一个像另一个,像MS-Outlook一样
谢谢

HI
I want to arrange tabs in stackpanel one aboe the other like MS-Outlook
Thanks

推荐答案

尝试使用

不要使用标签.
将StackPanel方向设置为垂直"后,使用按钮.

例如
Dont use a tab.
Use buttons after setting the StackPanel orientation to Vertical.

E.g
<stackpanel orientation="Vertical">
<button content="Firstbutton" />
<button content="Secondbutton" />
<button content="Thirdbutton" />
</stackpanel>/pre>


这篇关于我如何在WPF中的堆栈面板中排列选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆