This custom EventArgs class defines the additional information that will be sent to methods that handle the ObjectList.ItemDataBind event. This information includes the ObjectListItem that is being bound bound in the list (ListItem), and the System.Data.DataRow or other object that is supplying the data (DataItem).
public class ObjectListDataBindEventArgs : EventArgs { // Public Constructors public ObjectListDataBindEventArgs(ObjectListItem item, object dataItem); // Public Instance Properties public object DataItem{get; } public ObjectListItem ListItem{get; } }