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

CustomizeTemplatedItemEventArgs.DataItem Property

Gets the current item’s underlying data object. For a bound ListBoxControl, the DataItem property returns the corresponding record in the data source.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public object DataItem { get; }

Property Value

Type Description
Object

The item’s data object.

Remarks

The object the DataItem property retrieves matches the value returned by the BaseListBoxControl.GetItem method. See this topic to learn more.

See Also