2017-05-29 66 views
-2

我正在使用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

回答

-1

使用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