Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Book.PageIndex Property

Gets or sets the index of the page currently opened. This is a dependency property.

Namespace: DevExpress.Xpf.Controls

Assembly: DevExpress.Xpf.Controls.v24.1.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public int PageIndex { get; set; }

#Property Value

Type Description
Int32

An integer value that specifies the index of the current page. -1 if the left page corresponds to a cover.

#Remarks

Since a book displays facing pages, the PageIndex property can correspond to either the left or right page. The odd index corresponds to the left page, the even index corresponds to the right page.

Book_PageIndex

Each time a new page is being opened, the Book.PageIndexChanging event is raised, allowing you to cancel the action. After a new page has been opened, the Book.PageIndexChanged event is fired.

See Also