Back to Devexpress

PageViewItem Class

wpf-devexpress-dot-xpf-dot-windowsui-693c77e4.md

latest2.8 KB
Original Source

PageViewItem Class

An object within a PageView that stores content.

Namespace : DevExpress.Xpf.WindowsUI

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public class PageViewItem :
    veHeaderedContentSelectorItem,
    IControl
vb
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

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

PageViewItem Members

How To: Create a PageView and Populate It with Data

DevExpress.Xpf.WindowsUI Namespace