ItemPager Constructor (ControlPager^, MobileControl^, Int32, Int32, Int32)
Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: ItemPager( ControlPager^ pager, MobileControl^ control, int itemCount, int itemsPerPage, int itemWeight )
Parameters
- pager
-
Type:
System.Web.UI.MobileControls::ControlPager^
The control pager for the control being paginated.
- control
-
Type:
System.Web.UI.MobileControls::MobileControl^
The control being paginated.
- itemCount
-
Type:
System::Int32
The total number of items in the control to be paginated.
- itemsPerPage
-
Type:
System::Int32
The maximum number of items to be displayed per page.
- itemWeight
-
Type:
System::Int32
The weight to be assigned per item. If a control considers a character to be an item, this value should be small; if a control considers a line of text to be an item, this value should be larger.
Constructs a new ItemPager object, initializing the ControlPager and MobileControl objects; and the ItemCount, ItemsPerPage, and ItemWeight properties with the values of the pager, control, itemCount, itemsPerPage, and itemWeight parameters, respectively.
Available since 1.1
ItemPager Overload
ItemPager Class
System.Web.UI.MobileControls Namespace
Pagination
Designing and Rendering Concepts for Mobile Controls