本文介绍了单选按钮文本修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


任何机构都可以解释一下,如果将单选组项目放置在布局控制项目上时,我们如何为其提供多行文本?

在此先感谢

Hi,
Could any body please explain how can we give multiline text for a radio group item when it is placed over a layout control item ?

Thanks in advance

推荐答案

radioButton1.Text = "some text" + Environment.NewLine + "more text" + Environment.NewLine;

是否是当AutoSize设置为"true"时,您可以这样做.

在设计时,将AutoSize设置为"false":您可以控制RadioButton边框的范围.

在运行时,我认为您在任何情况下都不希望更改RadioButton的大小.

Whether it is a good idea to do that, when AutoSize is set to ''true: well, you decide.

At design-time, with AutoSize set to ''false: you have control over the extent of the RadioButton''s bounding-box.

At run-time, I don''t think you''d want to go near changing the size of the RadioButton, under any circumstances.


这篇关于单选按钮文本修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 04:43
查看更多