如何制作垂直TabControl?

如何制作垂直TabControl?

问题描述:

我正在使用VB.Net进行项目,但我在制作GUI时遇到了麻烦。我想有一个垂直的TabControl看起来像这样的图像:如何制作垂直TabControl?

Please help me asap! Thanks.

贷@Alexander

+1

你使用ASP.NET MVC,WebForms或Windows Forms吗? – Alexander

+0

'Google'服务器已启动并正在运行。你有没有重新研究这个? – Codexer

+0

Windows Forms @Alexander – Kronic

使用TabAlignment.LeftTabControlAlignment财产。 有关详细信息,请参阅Display Side-Aligned Tabs with TabControlCustom Tab Control Layout

+0

更改对齐方式***不会更改选项卡的外观***。 – Codexer

+0

@Codexer,需要将'DrawMode'属性设置为'OwnerDrawFixed'并为'DrawItem'事件定义一个处理程序。答案中的链接可以帮助你。 – Alexander

+0

@Codexer,刚才我发现了一个类似的解决问题的C#。但答案是一样的:它给了MSDN文章的相同链接。文章中有针对c#和vb.net的解决方案。 – Alexander