Main Page

  Previous Section Next Section

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; }


System.Object System.EventArgs ListDataBindEventArgs

Passed To

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

      Previous Section Next Section