Skip to main content

TileItem.Image Property

Gets or sets the current tile item’s icon.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.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 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