ItemPager Constructor (ControlPager, MobileControl, Int32, Int32, Int32)
Assembly: System.Web.Mobile (in system.web.mobile.dll)
public: ItemPager ( ControlPager^ pager, MobileControl^ control, int itemCount, int itemsPerPage, int itemWeight )
public ItemPager ( ControlPager pager, MobileControl control, int itemCount, int itemsPerPage, int itemWeight )
public function ItemPager ( pager : ControlPager, control : MobileControl, itemCount : int, itemsPerPage : int, itemWeight : int )
Parameters
- pager
The control pager for the control being paginated.
- control
The control being paginated.
- itemCount
The total number of items in the control to be paginated.
- itemsPerPage
The maximum number of items to be displayed per page.
- itemWeight
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.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.