IPageableItemContainer Interface

Definition

Defines members that a data-bound control must implement in order to have paging functionality provided by the DataPager control.

C#
public interface IPageableItemContainer
Derived

Remarks

The IPageableItemContainer interface defines properties, methods, and events that must be implemented by data-bound controls in order to have paging functionality provided by the DataPager control. (An example of a control that implements this interface is the ListView control.)

The TotalRowCountAvailable event is raised when the DataPager control can bind to data. The DataPager control provides a handler for this event that is named OnTotalRowCountAvailable.

The SetPageProperties method is called by the DataPager control every time that the control must update the page-related properties. For example, this method is called when the user navigates to another page of data.

Properties

MaximumRows

Gets the maximum number of items to display on a single page of data.

StartRowIndex

Gets the index of the first record that is displayed on a page of data.

Methods

SetPageProperties(Int32, Int32, Boolean)

Sets the properties of a page of data.

Events

TotalRowCountAvailable

Occurs when the data from the data source is made available to the control.

Applies to

Proizvod Verzije
.NET Framework 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