aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxpivotgridexportsettings-32c77bb1.md
Enables you to render a different content for individual field headers, if the PivotGrid is exported in the WYSIWYG mode.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public EventHandler<WebCustomExportHeaderEventArgs> CustomExportHeader { get; set; }
Public Property CustomExportHeader As EventHandler(Of WebCustomExportHeaderEventArgs)
| Type | Description |
|---|---|
| EventHandler<WebCustomExportHeaderEventArgs> |
A delegate method allowing you to implement custom processing.
|
You can access this nested property as listed below:
| Object Type | Path to CustomExportHeader |
|---|---|
| PivotGridSettings |
.SettingsExport .CustomExportHeader
|
The CustomExportHeader event is raised for each field when the PivotGrid is being exported. You can handle this event to change the field header’s appearance and contents in a printed document.
Note
The CustomExportHeader event is not in effect during the export in Data-Aware mode. To customize cells in Data-Aware export mode, use the PivotXlsExportOptions.CustomizeCell and PivotXlsxExportOptions.CustomizeCell events.
See Also
Declaring Server-Side Event Handlers
MVCxPivotGridExportSettings Class