ItemPager Class

Definition

Caution

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

Assists in paginating a form. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class ItemPager
public class ItemPager
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class ItemPager
type ItemPager = class
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type ItemPager = class
Public Class ItemPager
Inheritance
ItemPager
Attributes

Remarks

For each control that supports internal pagination, an ItemPager object is created and used to paginate the contents of the control.

This class is used with the PagedControl class for controls that have long text length, such as a ListControl, LiteralText, or ObjectList.

Normally, you would not inherit and modify this class unless you want to create your own customized pagination. More typically, you would inherit from the PagedControl class and extend your own customized properties and methods.

Constructors

ItemPager()

Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemPager(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 Mobile Apps & Sites with ASP.NET.

Properties

ItemCount

Gets the count of items visible on the current page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemIndex

Gets the index of the first visible item on the current page. Returns a value of -1 if no items are visible. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also