ListDataBindEventArgs

ListDataBindEventArgs.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This custom EventArgs object contains information provided to methods that handle the List.ItemDataBind event. This information includes the MobileListItem that is being bound (ListItem) and the data item that is being bound to it (DataItem). For example, if you are binding a list to a System.Data.DataTable, the DataItem will return the corresponding System.Data.DataRow object.

public class ListDataBindEventArgs : EventArgs {
// Public Constructors
   public ListDataBindEventArgs(MobileListItem item, object dataItem);
// Public Instance Properties
   public object DataItem{get; }
   public MobileListItem ListItem{get; }
}

Hierarchy

System.Object System.EventArgs ListDataBindEventArgs

Passed To

List.OnItemDataBind( ), ListDataBindEventHandler.{BeginInvoke( ), Invoke( )}, SelectionList.OnItemDataBind( )



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace