Skip to main content

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