ClassBookPagedCollectionView
Provides paging functionality for RadBook.
Definition
Namespace:Telerik.Windows.Controls.Book
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public class BookPagedCollectionView : IPagedCollectionView, IEnumerable, INotifyPropertyChanged
Inheritance: objectBookPagedCollectionView
Implements:
Constructors
BookPagedCollectionView(RadBook)
Initializes a new instance of the BookPagedCollectionView class.
Declaration
public BookPagedCollectionView(RadBook owner)
Parameters
owner
The owner.
Properties
CanChangePage
Gets a value that indicates whether the PageIndex value is allowed to change.
IsPageChanging
Gets a value that indicates whether a page index change is in process.
Declaration
public bool IsPageChanging { get; }
Property Value
true if the page index is changing; otherwise, false.
Implements
ItemCount
Gets the minimum number of items known to be in the source collection.
Declaration
public int ItemCount { get; }
Property Value
The minimum number of items known to be in the source collection.
Implements
PageIndex
Gets the zero-based index of the current page.
Declaration
public int PageIndex { get; }
Property Value
The zero-based index of the current page.
Implements
PageSize
Gets or sets the number of items to display on a page.
Declaration
public int PageSize { get; set; }
Property Value
The number of items to display on a page.
Implements
TotalItemCount
Gets the total number of items in the source collection.
Declaration
public int TotalItemCount { get; }
Property Value
The total number of items in the source collection, or -1 if the total number is unknown.
Implements
Methods
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
An IEnumerator object that can be used to iterate through the collection.
Implements
MoveToFirstPage()
Sets the first page as the current page.
MoveToLastPage()
Sets the last page as the current page.
MoveToNextPage()
Moves to the page after the current page.
MoveToPage(int)
Requests a page move to the page at the specified index.
MoveToPreviousPage()
Moves to the page before the current page.
Events
PageChanged
Occurs when page has changed.
Declaration
public event EventHandler<EventArgs> PageChanged
Event Value
Implements
PageChanging
Occurs when a page is changing.
Declaration
public event EventHandler<PageChangingEventArgs> PageChanging
Event Value
Implements
PropertyChanged
Occurs when a property has changed value.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements