ItemPager Constructor (ControlPager, MobileControl, Int32, Int32, Int32)
Initializes a new instance of the ItemPager class.
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.