New to Telerik UI for WPFStart a free 30-day trial

Provides paging functionality for RadBook.

Definition

Namespace:Telerik.Windows.Controls.Book

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class BookPagedCollectionView : IPagedCollectionView, IEnumerable, INotifyPropertyChanged

Inheritance: objectBookPagedCollectionView

Implements: IEnumerableINotifyPropertyChangedIPagedCollectionView

Constructors

Initializes a new instance of the BookPagedCollectionView class.

C#
public BookPagedCollectionView(RadBook owner)
Parameters:ownerRadBook

The owner.

Properties

Gets a value that indicates whether the PageIndex value is allowed to change.

C#
public bool CanChangePage { get; }
Property Value:

true if the PageIndex value is allowed to change; otherwise, false.

Implements: IPagedCollectionView.CanChangePage

Gets a value that indicates whether a page index change is in process.

C#
public bool IsPageChanging { get; }
Property Value:

true if the page index is changing; otherwise, false.

Implements: IPagedCollectionView.IsPageChanging

Gets the minimum number of items known to be in the source collection.

C#
public int ItemCount { get; }
Property Value:

The minimum number of items known to be in the source collection.

Implements: IPagedCollectionView.ItemCount

Gets the zero-based index of the current page.

C#
public int PageIndex { get; }
Property Value:

The zero-based index of the current page.

Implements: IPagedCollectionView.PageIndex

Gets or sets the number of items to display on a page.

C#
public int PageSize { get; set; }
Property Value:

The number of items to display on a page.

Implements: IPagedCollectionView.PageSize

Gets the total number of items in the source collection.

C#
public int TotalItemCount { get; }
Property Value:

The total number of items in the source collection, or -1 if the total number is unknown.

Implements: IPagedCollectionView.TotalItemCount

Methods

Returns an enumerator that iterates through a collection.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

An IEnumerator object that can be used to iterate through the collection.

Implements: IEnumerable.GetEnumerator()

Sets the first page as the current page.

C#
public bool MoveToFirstPage()
Returns:

bool

Implements: IPagedCollectionView.MoveToFirstPage()

Sets the last page as the current page.

C#
public bool MoveToLastPage()
Returns:

bool

Implements: IPagedCollectionView.MoveToLastPage()

Moves to the page after the current page.

C#
public bool MoveToNextPage()
Returns:

bool

Implements: IPagedCollectionView.MoveToNextPage()

Requests a page move to the page at the specified index.

C#
public bool MoveToPage(int pageIndex)
Parameters:pageIndexint

The index of the page to move to.

Returns:

bool

Implements: IPagedCollectionView.MoveToPage(int)

Moves to the page before the current page.

C#
public bool MoveToPreviousPage()
Returns:

bool

Implements: IPagedCollectionView.MoveToPreviousPage()

Events

Occurs when page has changed.

C#
public event EventHandler<EventArgs> PageChanged

Implements: IPagedCollectionView.PageChanged

Occurs when a page is changing.

C#
public event EventHandler<PageChangingEventArgs> PageChanging

Implements: IPagedCollectionView.PageChanging

Occurs when a property has changed value.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged