Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/289.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 将样式应用于单选按钮_C#_Winforms - Fatal编程技术网

C# 将样式应用于单选按钮

C# 将样式应用于单选按钮,c#,winforms,C#,Winforms,我的问题可能看起来很愚蠢,但我真的找不到答案。我试着把文字放在单选按钮的顶部而不是侧面。我发现这个问题似乎回答了我的问题,但如何将其应用于windows窗体中的单选按钮。我使用的是Visual Studio 2013,我使用的是windows窗体应用程序 提前谢谢 对于WinForms,有两个属性: radioButton1.CheckAlign = ContentAlignment.BottomCenter; radioButton1.TextAlign = ContentAlignment.

我的问题可能看起来很愚蠢,但我真的找不到答案。我试着把文字放在单选按钮的顶部而不是侧面。我发现这个问题似乎回答了我的问题,但如何将其应用于windows窗体中的单选按钮。我使用的是Visual Studio 2013,我使用的是windows窗体应用程序


提前谢谢

对于WinForms,有两个属性:

radioButton1.CheckAlign = ContentAlignment.BottomCenter;
radioButton1.TextAlign = ContentAlignment.TopCenter;

您共享的链接是wpf,您不能使用该解决方案:谢谢您的回答!我对所有这些东西都很陌生,有太多的信息可以找到我想要的:你仍然可以将AutoSize添加到false中;谢谢很完美!