ItemPager Classe
Definição
Cuidado
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.
Ajuda na paginação de um formulário.Assists in paginating a form. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).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
- Herança
-
ItemPager
- Atributos
Comentários
Para cada controle que dá suporte à paginação interna, um ItemPager objeto é criado e usado para paginar o conteúdo do controle.For each control that supports internal pagination, an ItemPager object is created and used to paginate the contents of the control.
Essa classe é usada com a PagedControl classe para controles que têm comprimento de texto longo, como um ListControl , LiteralText ou ObjectList .This class is used with the PagedControl class for controls that have long text length, such as a ListControl, LiteralText, or ObjectList.
Normalmente, você não herdaria e modificaria essa classe, a menos que queira criar sua própria paginação personalizada.Normally, you would not inherit and modify this class unless you want to create your own customized pagination. Normalmente, você herdaria da PagedControl classe e estenderia suas próprias propriedades e métodos personalizados.More typically, you would inherit from the PagedControl class and extend your own customized properties and methods.
Construtores
| ItemPager() |
Inicializa uma nova instância da classe ItemPager.Initializes a new instance of the ItemPager class. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
| ItemPager(ControlPager, MobileControl, Int32, Int32, Int32) |
Inicializa uma nova instância da classe ItemPager.Initializes a new instance of the ItemPager class. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
Propriedades
| ItemCount |
Obtém a contagem de itens visíveis na página atual.Gets the count of items visible on the current page. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
| ItemIndex |
Obtém o índice do primeiro item visível na página atual.Gets the index of the first visible item on the current page. Retorna um valor de -1 se não houver itens visíveis.Returns a value of -1 if no items are visible. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |