A newer version of this page is available. Switch to the current version.

TileViewItem.Item[String] Property

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

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v19.1.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