vb.net中面板中动态添加标签的文本对齐属性 [英] Text align property of dynamic added label in panel in vb.net

查看:267
本文介绍了vb.net中面板中动态添加标签的文本对齐属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用对齐属性左边或右边或居中对齐我的标签文本

但是在动态添加标签中我该怎么做

i have to align left or right or center to my label text using alignment property
but in dynamic added label how can i do this

推荐答案

创建标签后,设置 TextAlign属性 [ ^ ]到 ContentAlignment [ ^ ]您的选择。
After creating the Label set the TextAlign property[^] to the ContentAlignment[^] off your choice.


转换为标签控制属性之后你可以使用....: - )
convert in to label control property after that you can use it.... :-)


这篇关于vb.net中面板中动态添加标签的文本对齐属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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