The Control class has the HorizontalContentAlignment and VerticalContentAlignment properties. These properties determine how the content of the control fills the space inside the control.
Set HorizontalContentAlignment and VerticalContentAlignment to Center.
Akshay J Mar 15 2018-11-17T00: 00Z
source share