Читати англійською Редагувати

Поділитися через


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 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
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

Продукт Версії (Застаріло.)
.NET Framework 1.1, 2.0, 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

See also