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

TileView.Templates Property

Provides access to the collection of tile templates.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[Browsable(false)]
[DXCategory("Layout")]
public ItemTemplateRepository Templates { get; }

Property Value

Type
DevExpress.XtraGrid.Views.Tile.ItemTemplateRepository

Remarks

The Tile Template page in the Data Grid Designer allows you to create multiple templates. These templates will be stored in the Templates collection.

By default, tiles are generated from the default tile template specified by the TileView.TileTemplate property. By handling the TileView.CustomItemTemplate event, you can dynamically provide templates for tiles. Create templates beforehand and store them in the Templates collection. To supply a template while handling the TileView.CustomItemTemplate event, access a required template from the Templates collection and assign it to the event’s Template parameter.

See Also