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

PageViewItem Class

An object within a PageView that stores content.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public class PageViewItem :
    veHeaderedContentSelectorItem,
    IControl

#Remarks

Though a PageView is an ItemsControl and can store items of any type, it’s recommended to use the PageViewItem objects to store PageView content.

To set the content for a PageViewItem, define it between the PageViewItem opening and closing tags or use the Content property. The Header property specifies the PageViewItem header’s text.

You can customize items and their headers for all PageViewItem objects within a PageView via DataTemplates. To do so, assign required DataTemplates to the PageView’s ItemTemplate and ContentTemplate properties. See the How To: Create a PageView and Populate It with Data example to learn more.

#Inheritance

Show 14 items
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
ContentControl
DevExpress.Xpf.WindowsUI.Base.veContentControlBase
DevExpress.Xpf.WindowsUI.Base.veContentControl
DevExpress.Xpf.WindowsUI.Base.veSelectorItem
DevExpress.Xpf.WindowsUI.Base.veContentSelectorItem
DevExpress.Xpf.WindowsUI.Base.veHeaderedContentSelectorItem
PageViewItem
See Also