Skip to main content
A newer version of this page is available. .

TileView.CustomItemTemplate Event

Allows you to assign custom item templates to tiles.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DXCategory("Data")]
public event TileViewCustomItemTemplateEventHandler CustomItemTemplate

Event Data

The CustomItemTemplate event's data class is DevExpress.XtraGrid.Views.Tile.TileViewCustomItemTemplateEventArgs.

Remarks

By default, all tiles are generated from the default template specified by the TileView.TileTemplate property. The CustomItemTemplate event allows you to dynamically provide templates for tiles, thus overriding the default template. You can create tile templates beforehand using the Data Grid Designer’s Tile Template page (these templates will be stored in the TileView.Templates collection. While handling the CustomItemTemplate event, read a corresponding template from the TileView.Templates collection and assign it to the event’s Template parameter.

See Also