ItemPager.ItemPager(ControlPager, MobileControl, Int32, Int32, Int32) Constructor

Initializes a new instance of the ItemPager class.

Namespace: System.Web.UI.MobileControls
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
)
Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: