TextAlignment
TextAlignment
Specifies the alignment of the text on button
Enumerated type, possible values are:
Default | |
---|---|
TopLeft | |
TopCenter | |
TopRight | |
MiddleLeft | |
MiddleCenter | |
MiddleRight | |
BottomLeft | |
BottomCenter | |
BottomRight | |
Tile | |
Stretch | |
Fit |
Applies to: Button , Picture Button
This property is used to align the text on a KCML picture button. Available settings are as follows:
topLeft | topCenter | topRight |
MiddleLeft | MiddleCenter | MiddleRight |
BottomLeft | BottomCenter | BottonRight |
Default (Middle Center) |
For example the following could be used to change the alignment of the text on the control picControl1:
.picControl1.TextAlignment = &.TopLeft