ListViewPagedDataSource Class
Encapsulates the paging-related properties of a ListView control.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The ListViewPagedDataSource type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ListViewPagedDataSource | Initializes a new instance of the ListViewPagedDataSource class. |
| Name | Description | |
|---|---|---|
![]() | AllowServerPaging | Gets or sets a value that indicates whether server-based paging is enabled. |
![]() | Count | Gets the number of items that will be used from the data source for the current page. |
![]() | DataSource | Gets or sets the data source. |
![]() | DataSourceCount | Gets the number of items in the data source. |
![]() | IsReadOnly | Gets a value that indicates whether the ListViewPagedDataSource object is read-only. |
![]() | IsServerPagingEnabled | Gets a value that indicates whether server-based paging is enabled. |
![]() | IsSynchronized | Gets a value that indicates whether access to the data source is synchronized (thread-safe). |
![]() | MaximumRows | Gets or sets the maximum number of items to display on a single page. |
![]() | StartRowIndex | Gets or sets the index of the first record displayed on the page. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the collection. |
![]() | TotalRowCount | Gets or sets the total number of items in the data source when server-based paging is being used. |
| Name | Description | |
|---|---|---|
![]() | CopyTo | Copies all the items from the data source to the specified System::Array object, starting at the specified index in System::Array. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an object that implements System.Collections::IEnumerator and that contains all items in the data source. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetItemProperties | Returns a System.ComponentModel::PropertyDescriptorCollection object that represents the properties that are used to bind data. |
![]() | GetListName | Returns the name of the list. This method does not apply to this class. |
![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
The ListViewPagedDataSource class encapsulates the properties that enable the ListView control to perform paging.
This class uses the best available method to enumerate the associated data. If the underlying data source supports indexed access (such as System::Array and System.Collections::IList objects), the class uses that access. Otherwise, the class uses the enumerator that is created by the GetEnumerator method.
For a list of initial property values for an instance of the ListViewPagedDataSource class, see the ListViewPagedDataSource constructor.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.



