Provides data for the Book.PageIndexChanging event.
public class PageIndexChangingEventArgs : CancelEventArgs
Public Class PageIndexChangingEventArgs Inherits CancelEventArgs
The Book.PageIndexChanging event is raised when an end-user is about to open a new page, allowing you to cancel the action. To do this, set the Cancel property to true.
Use the PageIndexChangingEventArgs.OldPageIndex and PageIndexChangingEventArgs.NewPageIndex properties to obtain indexes of the previously opened page, and the page an end-user is trying to open, respectively. You can navigate to an arbitrary page by assigning the appropriate page index to the PageIndexChangingEventArgs.NewPageIndex property.