ITileContainerDefaultProperties.ItemImageAlignment Property
Gets or sets the way Tiles’ glyphs are aligned within the current TileContainer.
Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
TileItemContentAlignment? ItemImageAlignment { get; set; }
#Property Value
Type | Description |
---|---|
Nullable<Tile |
A Tile |
Available values:
Name | Description |
---|---|
Default | Default content alignment. |
Top |
Content appears vertically aligned on the top, and horizontally aligned on the left. |
Top |
Content appears vertically aligned on the top, and horizontally aligned at the center. |
Top |
Content appears vertically aligned on the top, and horizontally aligned on the right. |
Middle |
Content appears vertically aligned at the center, and horizontally aligned on the left. |
Middle |
Content is horizontally and vertically aligned at the center. |
Middle |
Content appears vertically aligned at the center, and horizontally aligned on the right. |
Bottom |
Content appears vertically aligned at the bottom, and horizontally aligned on the left. |
Bottom |
Content appears vertically aligned at the bottom, and horizontally aligned at the center. |
Bottom |
Content appears vertically aligned at the bottom, and horizontally aligned on the right. |
Manual | Indicates that manual text alignment, based on the Tile |
#Remarks
The ItemImageAlignment property affects all images assigned to the TileItemElement.Image properties of the elements stored within the BaseTile.Elements collections for all the current TileContainer‘s Tiles. You can also specify a stretch mode common to all Tiles within a container via the ITileContainerDefaultProperties.ItemImageScaleMode property.