Back to Devexpress

PivotGridFieldOptions.ShowGroupIntervalName Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldoptions-87e6cad0.md

latest2.3 KB
Original Source

PivotGridFieldOptions.ShowGroupIntervalName Property

Gets or sets whether to display a group interval name in the field header.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool ShowGroupIntervalName { get; set; }
vb
<DefaultValue(False)>
Public Property ShowGroupIntervalName As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to display a group interval name in the field header; otherwise, false

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowGroupIntervalName
PivotGridFieldBase

.Options .ShowGroupIntervalName

|

Remarks

If you use the Default group interval, the field’s caption stays the same. If you enable the property and set the group interval with the PivotGridFieldBase.GroupInterval property, the group interval name is displayed in the field header.

Run the following demo and change the group interval for the Order Date field to see changes in the field’s caption:

Run Demo: Interval Grouping

See Also

PivotGridFieldOptions Class

PivotGridFieldOptions Members

DevExpress.XtraPivotGrid Namespace