PageViewItem Class

An object within a PageView that stores content.

Namespace: DevExpress.Xpf.WindowsUI

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

Declaration

public class PageViewItem :
    veHeaderedContentSelectorItem,
    IControl
Public Class PageViewItem
    Inherits veHeaderedContentSelectorItem
    Implements 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

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