Back to Devexpress

CustomizeTemplatedItemEventArgs.DataItem Property

windowsforms-devexpress-dot-xtraeditors-dot-customizetemplateditemeventargs.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public object DataItem { get; }
vb
Public ReadOnly Property DataItem As Object

Property Value

TypeDescription
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

CustomizeTemplatedItemEventArgs Class

CustomizeTemplatedItemEventArgs Members

DevExpress.XtraEditors Namespace