vcl-dxcustomtilecontrol-304b12b9.md
Enumerates alignment options for tile elements (text and graphics).
TdxTileItemInnerObjectAlignment = (
oaDefault,
oaTopLeft,
oaTopCenter,
oaTopRight,
oaMiddleLeft,
oaMiddleCenter,
oaMiddleRight,
oaBottomLeft,
oaBottomCenter,
oaBottomRight
);
| Name |
|---|
oaDefault |
oaTopLeft |
oaTopCenter |
oaTopRight |
oaMiddleLeft |
oaMiddleCenter |
oaMiddleRight |
oaBottomLeft |
oaBottomCenter |
oaBottomRight |
Values include:
|
Value
|
Description
|
Example
| | --- | --- | --- | |
oaDefault
|
An element is located at its default position.
For a tile text, the default position matches the default position of the text block that displays this text.
For tile graphics, the default position is oaMiddleCenter.
|
| |
oaTopLeft
|
An element is displayed in a tile’s top-left corner.
|
| |
oaTopCenter
|
An element is horizontally centered along a tile’s top edge.
|
| |
oaTopRight
|
An element is displayed in a tile’s top-right corner.
|
| |
oaMiddleLeft
|
An element is vertically centered and aligned to a tile’s left edge.
|
| |
oaMiddleCenter
|
An element is centered within a tile.
|
| |
oaMiddleRight
|
An element is vertically centered and aligned to a tile’s right edge.
|
| |
oaBottomLeft
|
An element is displayed in a tile’s bottom-left corner.
|
| |
oaBottomCenter
|
An element is horizontally centered along a tile’s bottom edge.
|
| |
oaBottomRight
|
An element is displayed in a tile’s bottom-right corner.
|
|
See Also