Skip to main content

TileViewItem.Item[String] Property

Returns an element bound to the specified field in the data source.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public TileViewItemElement this[string fieldName] { get; }

Parameters

Name Type Description
fieldName String

A String value that represents the field name in the underlying data source for which to return an TileViewItemElement object.

Property Value

Type Description
TileViewItemElement

A TileViewItemElement object that represents the required element.

Remarks

Use the Item indexer property to access items of the TileItem.Elements collection by their field names. See an example below.

TileViewItemElement element = tileViewItem1["YearBuilt"];
See Also