将样式应用于单选按钮
Apply style to radio button
我的问题看似愚蠢,但我真的找不到答案。我试图将文本放在单选按钮的顶部而不是侧面。我发现这个问题 How to put text on top in RadioButton 似乎回答了我的问题,但我如何将它应用到我的 windows 表单中的单选按钮。我正在使用 Visual Studio 2013,我正在使用 windows 表单应用程序。
提前致谢!
对于 WinForms,有两个属性:
radioButton1.CheckAlign = ContentAlignment.BottomCenter;
radioButton1.TextAlign = ContentAlignment.TopCenter;
我的问题看似愚蠢,但我真的找不到答案。我试图将文本放在单选按钮的顶部而不是侧面。我发现这个问题 How to put text on top in RadioButton 似乎回答了我的问题,但我如何将它应用到我的 windows 表单中的单选按钮。我正在使用 Visual Studio 2013,我正在使用 windows 表单应用程序。
提前致谢!
对于 WinForms,有两个属性:
radioButton1.CheckAlign = ContentAlignment.BottomCenter;
radioButton1.TextAlign = ContentAlignment.TopCenter;