ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 623
نمايش فراداده

ObjectListDataBindEventArgs.NET 1.1

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

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

Hierarchy

System.Object System.EventArgs ObjectListDataBindEventArgs

Passed To

ObjectList.OnItemDataBind( ), ObjectListDataBindEventHandler.{BeginInvoke( ), Invoke( )}