Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

TileItem.Image Property

Gets or sets the current tile item’s icon.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.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 tile item’s icon.

#Remarks

The Image property sets an image as a TileItem‘s icon. An item icon’s appearance can be tweaked using the TileItem.ImageAlignment and TileItem.ImageScaleMode properties. Notice that every TileItemFrame can have its own TileItemFrame.Image property value that overrides the corresponding Image value. See the Tile Item Structure topic to learn more.

A Tile item’s Image can be grouped with TileItem.Text using the TileItem.ImageToTextAlignment property.

If you want to display multiple glyphs within your TileItem, use the TileItem.Elements collection to add as many TileItemElements as you like and specify their TileItemElement.Image properties. In this case, the Image property specifies a glyph for the first element within the TileItem.Elements collection only.

See Also