如何在vb.net的中心对齐选项卡 [英] How to aligned tab in center in vb.net

查看:122
本文介绍了如何在vb.net的中心对齐选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将标签对齐到中心位置。我只能左右两边但我希望标签位于中心。



请查看下面的截图:



https://i.gyazo.com/165cbc1e53c88296d190e6f8b026f6ee.png [ ^ ]



请告诉我怎么样我对选定的标签进行着色..



编辑 - 我正在使用Windows窗体但是默认的标签控件。没有其他代码我必须在选项卡上进行更改才能使其居中。上面给出的图像是设计的模型。



问候,

How can i align the tab in center position. I can only right and left but i want the tab should be in center.

Please check the screenshot below:

https://i.gyazo.com/165cbc1e53c88296d190e6f8b026f6ee.png[^]

Please also tell how can I colourise the selected tab..

Edit - I am using Windows Form but default tab control. There is no other code i have to make changes on tab to make it center. That image given above is the mockup of the design.

Regards,

推荐答案

这是一个示例如何创建自己的TabControl:

绘画你自己的标签 - 第二版 [ ^ ]
Here is a sample how do create your "own" TabControl :
Painting Your Own Tabs - Second Edition[^]


这篇关于如何在vb.net的中心对齐选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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