프로그래밍/C#

c# 동적생성 label textalign 바꾸기

뽀로로친구에디 2018. 10. 26. 11:10

c# 동적생성 label textalign 바꾸기


How do I align my text in a label to the right side?

Label label = new Label();                        

label.AutoSize = false;

label.TextAlign = ContentAlignment.MiddleRight;