rhu*_*hes 18 .net .net-3.5 winforms
我有一个标准按钮,WinForm带有一些文字和图像.它看起来像这样:

如何设置按钮以使图像与文本左侧对齐?我试过了ImageAlign,但似乎没有考虑按钮的文字.
rhu*_*hes 33
刚发现它.
你需要设置:
ImageAlign 至 MiddleRight
TextImageRelation 至 ImageBeforeText
TextAlign 如 MiddleCenter
Vis*_*har 14
为此,您可以使用TextImageRelation属性将其设置为ImageBeforeText:
指定图像在控件文本之前水平显示.
