Visual Brush - Alignment Property

Position of the image

Member of Visual Brush (PRIM_VS.VisualBrush)

Data Type - Enumeration

Details

The Alignment property determines where the imange of the Control is located when it does not fill the space available. Conversely, if the image is too large for the space, Alignment determines which portion of the image is visible.
 
When the control resizes, the image will follow the alignment rules.

Allowed Values

Enum Value Description
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


See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020