Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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