SelectionList.ItemDataBind 事件

定義

清單中的項目已繫結至資料時會發生。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

public:
 event System::Web::UI::MobileControls::ListDataBindEventHandler ^ ItemDataBind;
public event System.Web.UI.MobileControls.ListDataBindEventHandler ItemDataBind;
member this.ItemDataBind : System.Web.UI.MobileControls.ListDataBindEventHandler 
Public Custom Event ItemDataBind As ListDataBindEventHandler 

事件類型

備註

建立控件中的 SelectionList 專案並系結數據時,這個事件處理程式會從任意運算式設定清單項目的屬性。

控制項中的 SelectionList 項目類型 MobileListItem為 。

當每個數據源項目系結時,就會引發此事件。 這是使用 TextValue 屬性篩選或群組集合專案MobileListItemCollection的最佳時機。

適用於

另請參閱