Function
Specifies the placement of the text displayed on the button.
Variable type
[ C#: enum ContentAlignmentEx ] [ VB.NET:
Enum ContentAlignmentEx ]
Initial value
MiddleCenter
Setting value
Value |
Enumeration member |
Description |
1 |
TopLeft |
Top left |
2 |
TopCenter |
Top center |
4 |
TopRight |
Top right |
8 |
TopDistributed |
Top distributed |
16 |
MiddleLeft |
Middle left |
32 |
MiddleCenter |
Middle center |
64 |
MiddleRight |
Middle right |
128 |
MiddleDistributed |
Middle distributed |
256 |
BottomLeft |
Bottom left |
512 |
BottomCenter |
Bottom center |
1024 |
BottomRight |
Bottom right |
2048 |
BottomDistributed |
Bottom distributed |
Remarks
Specifies the placement of the text displayed on the button.