Skip to main content

TileControl.ItemImageAlignment Property

Gets or sets the way TileItems’ glyphs are aligned within parent items.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(TileItemContentAlignment.Default)]
[DXCategory("Appearance")]
public TileItemContentAlignment ItemImageAlignment { get; set; }

Property Value

Type Default Description
TileItemContentAlignment Default

A TileItemContentAlignment enumerator value that specifies the way TileItems’ glyphs are aligned within parent items.

Available values:

Show 11 items
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.

Remarks

The ItemImageAlignment property manages glyph alignment settings common to all TileItems within the current TileControl. To override these default settings for individual tile items, use the TileItem.ImageAlignment property.

See the Tile Item Structure to learn more.

See Also