Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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