ListDataBindEventHandler ListDataBindEventHandler ListDataBindEventHandler ListDataBindEventHandler Delegate



This API is now obsolete.

Represents the method that handles the ItemDataBind event of a List control. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public delegate void ListDataBindEventHandler(System::Object ^ sender, ListDataBindEventArgs ^ e);
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see")]
public delegate void ListDataBindEventHandler(object sender, ListDataBindEventArgs e);
type ListDataBindEventHandler = delegate of obj * ListDataBindEventArgs -> unit
Public Delegate Sub ListDataBindEventHandler(sender As Object, e As ListDataBindEventArgs)


Object Object Object Object

The source of the event, a List.



A List control contains a collection of items. These items are of the MobileListItem class. When providing default rendering, the List control represents a MobileListItem object using its Text property. In templated rendering, the template can render any desired property of a MobileListItem object or associated data-bound object.

When you create a ListDataBindEventHandler delegate for a List control, you identify the method that handles the event. The List control notifies the handler when an item event is generated. To associate the event with your event handler, add an instance of the delegate to the event. Unless you remove the delegate, the event handler is called whenever the event occurs.

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also