Specifies the alignment of an image.
The following tables list the members exposed by the ImageAlignment type.
Name | Description | |
---|---|---|
![]() ![]() |
The image is aligned to the bottom side of the layout rectangle. |
|
![]() ![]() |
The image is centered within the layout rectangle. |
|
![]() ![]() |
The image is stretched to fit in the layout rectangle, but its original ratio is preserved. |
|
![]() ![]() |
The image is aligned to the left side of the layout rectangle. |
|
![]() ![]() |
Same as Center. |
|
![]() ![]() |
The image is aligned to the right side of the layout rectangle. |
|
![]() ![]() |
The image is stretched. Equal to (Left | Top | Right | Bottom). |
|
![]() ![]() |
The image is tiled across the layout rectangle. |
|
![]() ![]() |
The image is aligned to the top side of the layout rectangle. |