ListDataBindEventHandler Delegat
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przestroga
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 http://go.microsoft.com/fwlink/?LinkId=157231.
Reprezentuje metodę, która obsługuje ItemDataBind zdarzenie List formantu. Informacje o sposobach tworzenia aplikacji mobilnych ASP.NET można znaleźć w temacie Mobile Apps & sitess with ASP.NET.
public delegate void ListDataBindEventHandler(System::Object ^ sender, ListDataBindEventArgs ^ e);
public delegate void ListDataBindEventHandler(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 http://go.microsoft.com/fwlink/?LinkId=157231.")]
public delegate void ListDataBindEventHandler(object sender, ListDataBindEventArgs e);
type ListDataBindEventHandler = delegate of obj * ListDataBindEventArgs -> unit
[<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 http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type ListDataBindEventHandler = delegate of obj * ListDataBindEventArgs -> unit
Public Delegate Sub ListDataBindEventHandler(sender As Object, e As ListDataBindEventArgs)
Parametry
A ListDataBindEventArgs , który zawiera dane zdarzenia.
- Atrybuty
Uwagi
ListKontrolka zawiera kolekcję elementów. Te elementy są MobileListItem klasy. Podczas renderowania domyślnego, List formant reprezentuje MobileListItem Obiekt przy użyciu jego Text właściwości. W renderowanym szablonie szablon może renderować dowolną odpowiednią właściwość MobileListItem obiektu lub skojarzonego obiektu powiązanego z danymi.
Podczas tworzenia ListDataBindEventHandler delegata dla List kontrolki identyfikuje się metodę, która obsługuje zdarzenie. ListKontrolka powiadamia program obsługi po wygenerowaniu zdarzenia elementu. Aby skojarzyć zdarzenie z programem obsługi zdarzeń, Dodaj wystąpienie delegata do zdarzenia. Jeśli delegat nie zostanie usunięty, program obsługi zdarzeń jest wywoływany za każdym razem, gdy wystąpi zdarzenie.
Metody rozszerzania
| GetMethodInfo(Delegate) |
Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata. |