TileItemContentAlignment Enum
Provides members to specify tile content alignment.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
Members
Name | Description |
---|---|
Default
|
Default content alignment. |
TopLeft
|
Content appears vertically aligned on the top, and horizontally aligned on the left. |
TopCenter
|
Content appears vertically aligned on the top, and horizontally aligned at the center. |
TopRight
|
Content appears vertically aligned on the top, and horizontally aligned on the right. |
MiddleLeft
|
Content appears vertically aligned at the center, and horizontally aligned on the left. |
MiddleCenter
|
Content is horizontally and vertically aligned at the center. |
MiddleRight
|
Content appears vertically aligned at the center, and horizontally aligned on the right. |
BottomLeft
|
Content appears vertically aligned at the bottom, and horizontally aligned on the left. |
BottomCenter
|
Content appears vertically aligned at the bottom, and horizontally aligned at the center. |
BottomRight
|
Content appears vertically aligned at the bottom, and horizontally aligned on the right. |
Manual
|
Indicates that manual text alignment, based on the TileItemElement.TextLocation coordinates, should be used. |
Related API Members
The following properties accept/return TileItemContentAlignment values:
Remarks
TileItemContentAlignment enumerator values are used to pass to the TileItemElement.ImageAlignment and TileItemElement.TextAlignment properties so you can chose one of nine predefined positions for a content’s location. The TileItemContentAlignment.Manual value allows you to manually locate content using coordinates (see the TileItemElement.TextLocation to learn more).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TileItemContentAlignment enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.