ControlPager.GetItemPager(MobileControl, Int32, Int32, Int32) Metoda
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.
Tworzy i zwraca ItemPager obiekt do stronicowania zawartości danej kontrolki. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz
public:
System::Web::UI::MobileControls::ItemPager ^ GetItemPager(System::Web::UI::MobileControls::MobileControl ^ control, int itemCount, int itemsPerPage, int itemWeight);
public System.Web.UI.MobileControls.ItemPager GetItemPager(System.Web.UI.MobileControls.MobileControl control, int itemCount, int itemsPerPage, int itemWeight);
member this.GetItemPager : System.Web.UI.MobileControls.MobileControl * int * int * int -> System.Web.UI.MobileControls.ItemPager
Public Function GetItemPager (control As MobileControl, itemCount As Integer, itemsPerPage As Integer, itemWeight As Integer) As ItemPager
Parametry
- control
- MobileControl
Kontrolka, która ma być podzielony na strony.
- itemsPerPage
- Int32
Maksymalna liczba elementów na stronie.
Zwraca
Element ItemPager do stronicowania zawartości danej kontrolki.