Alignment Enumeration

Summary

Defines values to align elements within a control.

Syntax

TypeScript
JavaScript
   enum Alignment { 
      topLeft = 0, 
      topRight = 1, 
      bottomLeft = 2, 
      bottomRight = 3, 
      centerTop = 4, 
      centerLeft = 5, 
      centerRight = 6, 
      centerBottom = 7, 
      none = -1 
   } 
   enum Alignment { 
      topLeft = 0, 
      topRight = 1, 
      bottomLeft = 2, 
      bottomRight = 3, 
      centerTop = 4, 
      centerLeft = 5, 
      centerRight = 6, 
      centerBottom = 7, 
      none = -1 
   } 

Members

Value Member Description
0 topLeft Aligns content to the top left of the control.
1 topRight Aligns content to the top right of the control.
2 bottomLeft Aligns content to the bottom left of the control.
3 bottomRight Aligns content to the bottom right of the control.
4 centerTop Aligns content to the top and center of the control.
5 centerLeft Aligns content to the center and left of the control.
6 centerRight Aligns content to the center and right of the control.
7 centerBottom Aligns content to the center and bottom of the control.
-1 none No alignment specified for this control, and the default will be used.

Remarks

myControl.alignment = alignment.topLeft; 

Requirements

Target Platforms

See Also

Leadtools.Controls.Medical Namespace

Help Version 23.0.2024.5.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.