ItemPager ItemPager ItemPager ItemPager Class

Definition

Warning

This API is now obsolete.

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
[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
Public Class ItemPager
Inheritance
ItemPagerItemPagerItemPagerItemPager
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() ItemPager() ItemPager() 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) ItemPager(ControlPager, MobileControl, Int32, Int32, Int32) ItemPager(ControlPager, MobileControl, Int32, Int32, Int32) 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 ItemCount ItemCount 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 ItemIndex ItemIndex 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) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Security

AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

Applies to

See also