This documentation is archived and is not being maintained.

PagedDataSource Members

PagedDataSource overview

Public Constructors

public constructorPagedDataSource Constructor Initializes a new instance of the PagedDataSource class.

Public Properties

public propertyAllowCustomPaging Gets or sets a value indicating whether custom paging is enabled.
public propertyAllowPaging Gets or sets a value indicating whether paging is enabled.
public propertyCount Gets the number of items to be used from the data source.
public propertyCurrentPageIndex Gets or sets the index of the current page.
public propertyDataSource Gets or sets the data source.
public propertyDataSourceCount Gets the number of items in the data source.
public propertyFirstIndexInPage Gets the first index in the page.
public propertyIsCustomPagingEnabled Gets a value indicating whether custom paging is enabled.
public propertyIsFirstPage Gets a value indicating whether the current page is the first page.
public propertyIsLastPage Gets a value indicating whether the current page is the last page.
public propertyIsPagingEnabled Gets a value indicating whether paging is enabled.
public propertyIsReadOnly Gets a value indicating whether the data source is read-only.
public propertyIsSynchronized Gets a value indicating whether access to the data source is synchronized (thread-safe).
public propertyPageCount Gets the total number of pages necessary to display all items in the data source.
public propertyPageSize Gets or sets the number of items to display on a single page.
public propertySyncRoot Gets the object that can be used to synchronize access to the collection.
public propertyVirtualCount Gets or sets the virtual number of items in the data source when custom paging is used.

Public Methods

public methodCopyTo Copies all the items from the data source to the specified System.Array, starting at the specified index in the System.Array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns a System.Collections.IEnumerator implemented object that contains all items in the data source.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetItemProperties Returns the System.ComponentModel.PropertyDescriptorCollection that represents the properties on each item used to bind data.
public methodGetListName Returns the name of the list. This method does not apply to this class.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PagedDataSource Class | System.Web.UI.WebControls Namespace

Show: