[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Collapse]Pivot Grid
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Binding to Data
   [Expand]Data Shaping
   [Expand]Data Analysis
   [Expand]Layout
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Collapse]Appearance
     Pivot Grid Styles
     Pivot Grid Elements That Support Templates
     Customizing Pivot Grid Colors
   [Expand]MVVM Enhancements
   [Expand]UI Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Pivot Grid Elements That Support Templates

The following table lists all template properties introduced by the Pivot Grid:

Visual Element Property Description Data Context (Binding Source)

Customization Form

PivotGridControl.ExcelFieldListTemplate

PivotGridControl.FieldListTemplate

Specifies the template that defines the presentation of the Customization Form.

PivotGridControl

Data Cell

PivotGridControl.FieldCellTemplate

PivotGridControl.FieldCellTemplateSelector

PivotGridControl.FieldCellKpiTemplate

PivotGridControl.FieldCellKpiTemplateSelector

PivotGridField.CellTemplate

PivotGridField.CellTemplateSelector

Specifies the template that defines the presentation of data cells.

DevExpress.Xpf.PivotGrid.Internal.CellsAreaItem

Drag Indicator

PivotGridControl.FieldHeaderDragIndicatorTemplate

Specifies the template that defines the presentation of the drag indicator.

null (Nothing in Visual Basic)

Field Header

PivotGridControl.FieldHeaderTemplate

PivotGridControl.FieldHeaderTemplateSelector

PivotGridField.HeaderTemplate

PivotGridField.HeaderTemplateSelector

Specifies the template that defines the presentation of field headers.

PivotGridField

Field Header (in a Customization Form, list arrangement)

PivotGridControl.FieldHeaderListTemplate

PivotGridControl.FieldHeaderListTemplateSelector

PivotGridField.HeaderListTemplate

PivotGridField.HeaderListTemplateSelector

Specifies the template that defines the presentation of field headers in the Customization Form when they are arranged in a list.

PivotGridField

Field Header (in a Customization Form, tree arrangement)

PivotGridControl.FieldHeaderTreeViewTemplate

PivotGridControl.FieldHeaderTreeViewTemplateSelector

PivotGridField.HeaderTreeViewTemplate

PivotGridField.HeaderTreeViewTemplateSelector

Specifies the template that defines the presentation of field headers in the Customization Form when they are arranged in a tree.

PivotGridField

Field Value

PivotGridControl.FieldValueTemplate

PivotGridControl.FieldValueTemplateSelector

PivotGridField.ValueTemplate

PivotGridField.ValueTemplateSelector

Specifies the template that defines the presentation of field values.

DevExpress.Xpf.PivotGrid.Internal.FieldValueItem

Focused Cell's Border

PivotGridControl.FocusedCellBorderTemplate

Specifies the template that defines the presentation of the focused cell's border.

null (Nothing in Visual Basic)

Resizing Indicator

PivotGridControl.ResizingIndicatorTemplate

Specifies the template that defines the presentation of the resizing indicator.

null (Nothing in Visual Basic)

Expanded Example

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E2138.

The following example demonstrates how to use the PivotGridControl's PivotGridControl.FieldCellTemplate property to customize the appearance of data cells.

Is this topic helpful?​​​​​​​