Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileItemElement.Image Property

Gets or sets a glyph for the current TileItemElement.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
public Image Image { get; set; }

#Property Value

Type Default Description
Image null

An Image object that is the current TileItemElement‘s glyph.

#Remarks

Every TileItem can have an infinite count of TileItemElements. A TileItemElement object is a content unit that has text (see the TileItemElement.Text topic) and a glyph (specified via the Image property). You can customize both text and glyph alignment using the TileItemElement.TextAlignment and TileItemElement.ImageAlignment properties respectively. A collection of elements, specifying a tile item’s content, can be accessed via the TileItem.Elements property.

An element’s text and glyph can be grouped together into a single block via the TileItemElement.ImageToTextAlignment property. See the Tile Item Structure topic to learn more.

The same properties are used to specify text and glyphs for tile item frames that define the tile item frame animation. In this case, use the TileItemFrame.Elements property to access the collection of frame elements.

See Also