Switch - IconAlignment Property
Position of the icon within the control
Member of Switch (PRIM_MD.Switch)
Data Type - Enumeration
The IconAlignment property specifies where the Switch will be positioned within the control.
Enum Value |
Description |
AboveCaption |
Above the Caption and using the same alignment as the CaptionAlignment |
AfterCaption |
To the right of the Caption and using the same alignment as the CaptionAlignment |
BeforeCaption |
To the left of the Caption and using the same alignment as the CaptionAlignment |
Below |
Below the Caption and using the same alignment as the CaptionAlignment |
BottomCenter |
Horizontally centered and attached to the bottom edge |
BottomLeft |
Left justified and attached to the bottom edge |
BottomRight |
Right justified and attached to the bottom edge |
Center |
Horizontally and vertically centered |
CenterLeft |
Left justified and vertically centered |
CenterRight |
Right justified and vertically centered |
TopCenter |
Horizontally centered and attached to the upper edge |
TopLeft |
Left justified and attached to the upper edge |
TopRight |
Right justified and attached to the upper edge |
All Component Classes
Technical Reference