开发者

How to make label text right aligned in visual studio?

In Visual Studio, WinForms, I want to make the text of the label aligned to the right. I have used the property RightToLeft = Yes, but the problem as follows occur: The label Name : becomes : Name 开发者_如何学编程after the property RightToLeft = Yes is made. But I want to right aligned the label as Name :

Is there anyway to do so? Please help... I am using Visual Studio 2010


You should use the TextAlign property, not the RightToLeft property. The latter is used for localization to right-to-left languages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜