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