Couple of points:
1. Change the
AutoSize
property. Default it is set to
True
. Change it to
False
.
2. Increase the size of the label to know, whether the
TextAlign
is working properly or not. For example, change
Margin
to (15, 0, 15, 0) and
Size
value to (175, 36)
3.
You need to set TextAlign property. TextAlign might contain any of the following values,
TopLeft | TopCenter | TopRight
MiddleLeft | MiddleCenter | MiddleRight
BottomLeft | BottomCenter | BottomRight
The default value is TopLeft. You can choose the value according to your need.