Edit this page

Navigating

To change the set of pages that are displayed, you should use the RightPageIndex property. This property represents the index of the page that is displayed in the right side of the book. It is zero based.

On initial load, when the first and second pages are displayed, the value of this property will be 1. When the next pages are displayed - e.g. 3rd and 4rh the value of this property will be 3.

If you want to display the 50th and 51st page you should set this property to 50.

When you want to make a prev/next navigation the property should be increased with 2 for the next pages, and decreased with 2 for the previous set of pages.

Below is a sample of a button which shows the next set of pages when clicked:

Example 1: Defining a Next button

<Button Content="Next >>" Click="NextButton_Click"/>

Example 2: Updating the RightPageIndex property

private void NextButton_Click(object sender, System.Windows.RoutedEventArgs e)
{
    this.RadBook1.RightPageIndex += 2;
}
Private Sub NextButton_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs)
    RadBook1.RightPageIndex += 2
End Sub

See Also

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy