This documentation is archived and is not being maintained.
ItemPager Constructor (ControlPager, MobileControl, Int32, Int32, Int32)
Visual Studio 2010
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: