C#垂直标签控件 [英] C# vertical tab control

查看:268
本文介绍了C#垂直标签控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以做一个标签控件的样子附加的图片?我设法添加一个标签控制,但文本仍然是垂直的。我希望它是水平的。

Can I make a tab control to look like the attached picture? I managed to add a tab control, but the text is still vertical. And I would want it to be horizontal.

推荐答案

有是关于如何实现这一目标的MSDN文章。 如何显示边对齐卡口与TabControl的

There is an MSDN article about how to achieve this. How to: Display Side-Aligned Tabs with TabControl

下面的步骤显示了如何使右对齐的标签,与标签文本运行由左到右,通过使用所有者绘制功能。

The following procedure shows how to render right-aligned tabs, with the tab text running from left to right, by using the "owner draw" feature.

这篇关于C#垂直标签控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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